From ccdb999e37079dd77c9720d1feaedc1704ce30eb Mon Sep 17 00:00:00 2001 From: rahiel Date: Tue, 25 Aug 2015 13:45:02 +0200 Subject: [PATCH] add remaining chat actions --- telegram/bot.py | 4 ++-- telegram/chataction.py | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/telegram/bot.py b/telegram/bot.py index a1335c1c0..8264651e7 100644 --- a/telegram/bot.py +++ b/telegram/bot.py @@ -530,8 +530,8 @@ class Bot(TelegramObject): is about to receive: - ChatAction.TYPING for text messages, - ChatAction.UPLOAD_PHOTO for photos, - - ChatAction.UPLOAD_VIDEO or upload_video for videos, - - ChatAction.UPLOAD_AUDIO or upload_audio for audio files, + - ChatAction.UPLOAD_VIDEO for videos, + - ChatAction.UPLOAD_AUDIO for audio files, - ChatAction.UPLOAD_DOCUMENT for general files, - ChatAction.FIND_LOCATION for location data. """ diff --git a/telegram/chataction.py b/telegram/chataction.py index d9fc77610..ba7293e4c 100644 --- a/telegram/chataction.py +++ b/telegram/chataction.py @@ -20,7 +20,9 @@ class ChatAction(object): TYPING = 'typing' UPLOAD_PHOTO = 'upload_photo' - RECORD_VIDEO = 'upload_video' - RECORD_AUDIO = 'upload_audio' + RECORD_VIDEO = 'record_video' + UPLOAD_VIDEO = 'upload_video' + RECORD_AUDIO = 'record_audio' + UPLOAD_AUDIO = 'upload_audio' UPLOAD_DOCUMENT = 'upload_document' FIND_LOCATION = 'find_location'