telegram.ChatAction
- class telegram.ChatAction
Bases:
object
Helper class to provide constants for different chat actions.
- CHOOSE_STICKER = 'choose_sticker'
telegram.constants.CHOOSE_STICKER
New in version 13.8.
- FIND_LOCATION = 'find_location'
- RECORD_AUDIO = 'record_audio'
telegram.constants.CHATACTION_RECORD_AUDIO
Deprecated since version 13.5: Deprecated by Telegram. Use
RECORD_VOICE
instead.
- RECORD_VIDEO = 'record_video'
- RECORD_VIDEO_NOTE = 'record_video_note'
- RECORD_VOICE = 'record_voice'
telegram.constants.CHATACTION_RECORD_VOICE
New in version 13.5.
- TYPING = 'typing'
- UPLOAD_AUDIO = 'upload_audio'
telegram.constants.CHATACTION_UPLOAD_AUDIO
Deprecated since version 13.5: Deprecated by Telegram. Use
UPLOAD_VOICE
instead.
- UPLOAD_DOCUMENT = 'upload_document'
- UPLOAD_PHOTO = 'upload_photo'
- UPLOAD_VIDEO = 'upload_video'
- UPLOAD_VIDEO_NOTE = 'upload_video_note'
- UPLOAD_VOICE = 'upload_voice'
telegram.constants.CHATACTION_UPLOAD_VOICE
New in version 13.5.