telegram.ChatAction

class telegram.ChatAction

Bases: object

Helper class to provide constants for different chat actions.

FIND_LOCATION: ClassVar[str] = 'find_location'

telegram.constants.CHATACTION_FIND_LOCATION

RECORD_AUDIO: ClassVar[str] = 'record_audio'

telegram.constants.CHATACTION_RECORD_AUDIO

Deprecated since version 13.5: Deprecated by Telegram. Use RECORD_VOICE instead, as backwards compatibility is not guaranteed by Telegram.

RECORD_VIDEO: ClassVar[str] = 'record_video'

telegram.constants.CHATACTION_RECORD_VIDEO

RECORD_VIDEO_NOTE: ClassVar[str] = 'record_video_note'

telegram.constants.CHATACTION_RECORD_VIDEO_NOTE

RECORD_VOICE: ClassVar[str] = 'record_voice'

telegram.constants.CHATACTION_RECORD_VOICE

New in version 13.5.

TYPING: ClassVar[str] = 'typing'

telegram.constants.CHATACTION_TYPING

UPLOAD_AUDIO: ClassVar[str] = 'upload_audio'

telegram.constants.CHATACTION_UPLOAD_AUDIO

Deprecated since version 13.5: Deprecated by Telegram. Use UPLOAD_VOICE instead, as backwards compatibility is not guaranteed by Telegram.

UPLOAD_DOCUMENT: ClassVar[str] = 'upload_document'

telegram.constants.CHATACTION_UPLOAD_DOCUMENT

UPLOAD_PHOTO: ClassVar[str] = 'upload_photo'

telegram.constants.CHATACTION_UPLOAD_PHOTO

UPLOAD_VIDEO: ClassVar[str] = 'upload_video'

telegram.constants.CHATACTION_UPLOAD_VIDEO

UPLOAD_VIDEO_NOTE: ClassVar[str] = 'upload_video_note'

telegram.constants.CHATACTION_UPLOAD_VIDEO_NOTE

UPLOAD_VOICE: ClassVar[str] = 'upload_voice'

telegram.constants.CHATACTION_UPLOAD_VOICE

New in version 13.5.