add remaining chat actions

This commit is contained in:
rahiel 2015-08-25 13:45:02 +02:00
parent 41eb45918c
commit ccdb999e37
2 changed files with 6 additions and 4 deletions

View file

@ -530,8 +530,8 @@ class Bot(TelegramObject):
is about to receive: is about to receive:
- ChatAction.TYPING for text messages, - ChatAction.TYPING for text messages,
- ChatAction.UPLOAD_PHOTO for photos, - ChatAction.UPLOAD_PHOTO for photos,
- ChatAction.UPLOAD_VIDEO or upload_video for videos, - ChatAction.UPLOAD_VIDEO for videos,
- ChatAction.UPLOAD_AUDIO or upload_audio for audio files, - ChatAction.UPLOAD_AUDIO for audio files,
- ChatAction.UPLOAD_DOCUMENT for general files, - ChatAction.UPLOAD_DOCUMENT for general files,
- ChatAction.FIND_LOCATION for location data. - ChatAction.FIND_LOCATION for location data.
""" """

View file

@ -20,7 +20,9 @@
class ChatAction(object): class ChatAction(object):
TYPING = 'typing' TYPING = 'typing'
UPLOAD_PHOTO = 'upload_photo' UPLOAD_PHOTO = 'upload_photo'
RECORD_VIDEO = 'upload_video' RECORD_VIDEO = 'record_video'
RECORD_AUDIO = 'upload_audio' UPLOAD_VIDEO = 'upload_video'
RECORD_AUDIO = 'record_audio'
UPLOAD_AUDIO = 'upload_audio'
UPLOAD_DOCUMENT = 'upload_document' UPLOAD_DOCUMENT = 'upload_document'
FIND_LOCATION = 'find_location' FIND_LOCATION = 'find_location'