ChatAction#

class pyrogram.enums.ChatAction#

Chat action enumeration used in ChatEvent.

TYPING = <class 'pyrogram.raw.types.send_message_typing_action.SendMessageTypingAction'>#

Typing text message

UPLOAD_PHOTO = <class 'pyrogram.raw.types.send_message_upload_photo_action.SendMessageUploadPhotoAction'>#

Uploading photo

RECORD_VIDEO = <class 'pyrogram.raw.types.send_message_record_video_action.SendMessageRecordVideoAction'>#

Recording video

UPLOAD_VIDEO = <class 'pyrogram.raw.types.send_message_upload_video_action.SendMessageUploadVideoAction'>#

Uploading video

RECORD_AUDIO = <class 'pyrogram.raw.types.send_message_record_audio_action.SendMessageRecordAudioAction'>#

Recording audio

UPLOAD_AUDIO = <class 'pyrogram.raw.types.send_message_upload_audio_action.SendMessageUploadAudioAction'>#

Uploading audio

UPLOAD_DOCUMENT = <class 'pyrogram.raw.types.send_message_upload_document_action.SendMessageUploadDocumentAction'>#

Uploading document

FIND_LOCATION = <class 'pyrogram.raw.types.send_message_geo_location_action.SendMessageGeoLocationAction'>#

Finding location

RECORD_VIDEO_NOTE = <class 'pyrogram.raw.types.send_message_record_round_action.SendMessageRecordRoundAction'>#

Recording video note

UPLOAD_VIDEO_NOTE = <class 'pyrogram.raw.types.send_message_upload_round_action.SendMessageUploadRoundAction'>#

Uploading video note

PLAYING = <class 'pyrogram.raw.types.send_message_game_play_action.SendMessageGamePlayAction'>#

Playing game

CHOOSE_CONTACT = <class 'pyrogram.raw.types.send_message_choose_contact_action.SendMessageChooseContactAction'>#

Choosing contact

SPEAKING = <class 'pyrogram.raw.types.speaking_in_group_call_action.SpeakingInGroupCallAction'>#

Speaking in group call

IMPORT_HISTORY = <class 'pyrogram.raw.types.send_message_history_import_action.SendMessageHistoryImportAction'>#

Importing history

CHOOSE_STICKER = <class 'pyrogram.raw.types.send_message_choose_sticker_action.SendMessageChooseStickerAction'>#

Choosing sticker

CANCEL = <class 'pyrogram.raw.types.send_message_cancel_action.SendMessageCancelAction'>#

Cancel ongoing chat action