ChatAction

class hydrogram.enums.ChatAction[source]

Chat action enumeration used in ChatEvent.

TYPING = <class 'hydrogram.raw.types.send_message_typing_action.SendMessageTypingAction'>

Typing text message

UPLOAD_PHOTO = <class 'hydrogram.raw.types.send_message_upload_photo_action.SendMessageUploadPhotoAction'>

Uploading photo

RECORD_VIDEO = <class 'hydrogram.raw.types.send_message_record_video_action.SendMessageRecordVideoAction'>

Recording video

UPLOAD_VIDEO = <class 'hydrogram.raw.types.send_message_upload_video_action.SendMessageUploadVideoAction'>

Uploading video

RECORD_AUDIO = <class 'hydrogram.raw.types.send_message_record_audio_action.SendMessageRecordAudioAction'>

Recording audio

UPLOAD_AUDIO = <class 'hydrogram.raw.types.send_message_upload_audio_action.SendMessageUploadAudioAction'>

Uploading audio

UPLOAD_DOCUMENT = <class 'hydrogram.raw.types.send_message_upload_document_action.SendMessageUploadDocumentAction'>

Uploading document

FIND_LOCATION = <class 'hydrogram.raw.types.send_message_geo_location_action.SendMessageGeoLocationAction'>

Finding location

RECORD_VIDEO_NOTE = <class 'hydrogram.raw.types.send_message_record_round_action.SendMessageRecordRoundAction'>

Recording video note

UPLOAD_VIDEO_NOTE = <class 'hydrogram.raw.types.send_message_upload_round_action.SendMessageUploadRoundAction'>

Uploading video note

PLAYING = <class 'hydrogram.raw.types.send_message_game_play_action.SendMessageGamePlayAction'>

Playing game

CHOOSE_CONTACT = <class 'hydrogram.raw.types.send_message_choose_contact_action.SendMessageChooseContactAction'>

Choosing contact

SPEAKING = <class 'hydrogram.raw.types.speaking_in_group_call_action.SpeakingInGroupCallAction'>

Speaking in group call

IMPORT_HISTORY = <class 'hydrogram.raw.types.send_message_history_import_action.SendMessageHistoryImportAction'>

Importing history

CHOOSE_STICKER = <class 'hydrogram.raw.types.send_message_choose_sticker_action.SendMessageChooseStickerAction'>

Choosing sticker

CANCEL = <class 'hydrogram.raw.types.send_message_cancel_action.SendMessageCancelAction'>

Cancel ongoing chat action