ChatAction

class pyrogram.ChatAction

This enumeration provides a convenient access to all Chat Actions available. Chat Actions are intended to be used with send_chat_action().

CANCEL = <class 'pyrogram.api.types.send_message_cancel_action.SendMessageCancelAction'>

Cancels any chat action currently displayed.

TYPING = <class 'pyrogram.api.types.send_message_typing_action.SendMessageTypingAction'>

User is typing a text message.

PLAYING = <class 'pyrogram.api.types.send_message_game_play_action.SendMessageGamePlayAction'>

User is playing a game.

CHOOSE_CONTACT = <class 'pyrogram.api.types.send_message_choose_contact_action.SendMessageChooseContactAction'>

User is choosing a contact to share.

UPLOAD_PHOTO = <class 'pyrogram.api.types.send_message_upload_photo_action.SendMessageUploadPhotoAction'>

User is uploading a photo.

RECORD_VIDEO = <class 'pyrogram.api.types.send_message_record_video_action.SendMessageRecordVideoAction'>

User is recording a video.

UPLOAD_VIDEO = <class 'pyrogram.api.types.send_message_upload_video_action.SendMessageUploadVideoAction'>

User is uploading a video.

RECORD_AUDIO = <class 'pyrogram.api.types.send_message_record_audio_action.SendMessageRecordAudioAction'>

User is recording an audio message.

UPLOAD_AUDIO = <class 'pyrogram.api.types.send_message_upload_audio_action.SendMessageUploadAudioAction'>

User is uploading an audio message.

UPLOAD_DOCUMENT = <class 'pyrogram.api.types.send_message_upload_document_action.SendMessageUploadDocumentAction'>

User is uploading a generic document.

FIND_LOCATION = <class 'pyrogram.api.types.send_message_geo_location_action.SendMessageGeoLocationAction'>

User is searching for a location on the map.

RECORD_VIDEO_NOTE = <class 'pyrogram.api.types.send_message_record_round_action.SendMessageRecordRoundAction'>

User is recording a round video note.

UPLOAD_VIDEO_NOTE = <class 'pyrogram.api.types.send_message_upload_round_action.SendMessageUploadRoundAction'>

User is uploading a round video note.