SendMessageAction

class pyrogram.raw.base.SendMessageAction

User actions. Use this to provide users with detailed info about their chat partner’s actions: typing or sending attachments of all kinds.

Constructors:

This base type has 21 constructors available.

InputSendMessageRichMessageDraftAction

Telegram API type.

SendMessageCancelAction

Invalidate all previous action updates.

SendMessageChooseContactAction

User is selecting a contact to share.

SendMessageChooseStickerAction

User is choosing a sticker

SendMessageEmojiInteraction

User has clicked on an animated emoji triggering a reaction, click here for more info ».

SendMessageEmojiInteractionSeen

User is watching an animated emoji reaction triggered by another user, click here for more info ».

SendMessageGamePlayAction

User is playing a game

SendMessageGeoLocationAction

User is selecting a location to share.

SendMessageHistoryImportAction

Chat history is being imported

SendMessageRecordAudioAction

User is recording a voice message.

SendMessageRecordRoundAction

User is recording a round video to share

SendMessageRecordVideoAction

User is recording a video.

SendMessageRichMessageDraftAction

Telegram API type.

SendMessageTextDraftAction

{schema}

SendMessageTypingAction

User is typing.

SendMessageUploadAudioAction

User is uploading a voice message.

SendMessageUploadDocumentAction

User is uploading a file.

SendMessageUploadPhotoAction

User is uploading a photo.

SendMessageUploadRoundAction

User is uploading a round video

SendMessageUploadVideoAction

User is uploading a video.

SpeakingInGroupCallAction

User is currently speaking in the group call

TL Schema


Parameter Tree

SendMessageAction
│ └── progress → int
│ └── progress → int
│ └── progress → int
│ └── progress → int
│ └── progress → int
│ └── progress → int
│ ├── emoticon → string
│ ├── msg_id → int
│ └── interaction → DataJSON
│ └── DataJSON
│ └── data → string
│ └── emoticon → string
│ ├── random_id → long
│ └── text → TextWithEntities
│ └── TextWithEntities
│ ├── text → string
│ └── entities → Vector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
│ ├── random_id → long
│ └── rich_message → InputRichMessage
│ ├── InputRichMessage
│ │ ├── rtl → true (optional)
│ │ ├── noautolink → true (optional)
│ │ ├── blocks → Vector < PageBlock >
│ │ │ ├── PageBlockUnsupported
│ │ │ ├── PageBlockTitle
│ │ │ ├── PageBlockSubtitle
│ │ │ ├── PageBlockAuthorDate
│ │ │ ├── PageBlockHeader
│ │ │ ├── PageBlockSubheader
│ │ │ ├── PageBlockParagraph
│ │ │ ├── PageBlockPreformatted
│ │ │ ├── PageBlockFooter
│ │ │ ├── PageBlockDivider
│ │ │ ├── PageBlockAnchor
│ │ │ ├── PageBlockList
│ │ │ ├── PageBlockBlockquote
│ │ │ ├── PageBlockPullquote
│ │ │ ├── PageBlockPhoto
│ │ │ ├── PageBlockVideo
│ │ │ ├── PageBlockCover
│ │ │ ├── PageBlockEmbed
│ │ │ ├── PageBlockEmbedPost
│ │ │ ├── PageBlockCollage
│ │ │ ├── PageBlockSlideshow
│ │ │ ├── PageBlockChannel
│ │ │ ├── PageBlockAudio
│ │ │ ├── PageBlockKicker
│ │ │ ├── PageBlockTable
│ │ │ ├── PageBlockOrderedList
│ │ │ ├── PageBlockDetails
│ │ │ ├── PageBlockRelatedArticles
│ │ │ ├── PageBlockMap
│ │ │ ├── PageBlockHeading1
│ │ │ ├── PageBlockHeading2
│ │ │ ├── PageBlockHeading3
│ │ │ ├── PageBlockHeading4
│ │ │ ├── PageBlockHeading5
│ │ │ ├── PageBlockHeading6
│ │ │ ├── PageBlockMath
│ │ │ ├── PageBlockThinking
│ │ │ ├── InputPageBlockMap
│ │ │ └── PageBlockBlockquoteBlocks
│ │ ├── photos → Vector < InputPhoto > (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ ├── documents → Vector < InputDocument > (optional)
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ └── users → Vector < InputUser > (optional)
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── InputRichMessageHTML
│ │ ├── rtl → true (optional)
│ │ ├── noautolink → true (optional)
│ │ ├── html → string
│ │ └── files → Vector < InputRichFile > (optional)
│ │ ├── InputRichFilePhoto
│ │ └── InputRichFileDocument
│ ├── rtl → true (optional)
│ ├── noautolink → true (optional)
│ ├── markdown → string
│ └── files → Vector < InputRichFile > (optional)
│ ├── InputRichFilePhoto
│ └── InputRichFileDocument
├── random_id → long
└── rich_message → RichMessage
└── RichMessage
├── rtl → true (optional)
├── part → true (optional)
├── blocks → Vector < PageBlock >
│ ├── PageBlockUnsupported
│ ├── PageBlockTitle
│ ├── PageBlockSubtitle
│ ├── PageBlockAuthorDate
│ ├── PageBlockHeader
│ ├── PageBlockSubheader
│ ├── PageBlockParagraph
│ ├── PageBlockPreformatted
│ ├── PageBlockFooter
│ ├── PageBlockDivider
│ ├── PageBlockAnchor
│ ├── PageBlockList
│ ├── PageBlockBlockquote
│ ├── PageBlockPullquote
│ ├── PageBlockPhoto
│ ├── PageBlockVideo
│ ├── PageBlockCover
│ ├── PageBlockEmbed
│ ├── PageBlockEmbedPost
│ ├── PageBlockCollage
│ ├── PageBlockSlideshow
│ ├── PageBlockChannel
│ ├── PageBlockAudio
│ ├── PageBlockKicker
│ ├── PageBlockTable
│ ├── PageBlockOrderedList
│ ├── PageBlockDetails
│ ├── PageBlockMap
│ ├── PageBlockHeading1
│ ├── PageBlockHeading2
│ ├── PageBlockHeading3
│ ├── PageBlockHeading4
│ ├── PageBlockHeading5
│ ├── PageBlockHeading6
│ ├── PageBlockMath
│ ├── PageBlockThinking
│ ├── InputPageBlockMap
├── photos → Vector < Photo >
│ ├── PhotoEmpty
│ └── Photo
└── documents → Vector < Document >
├── DocumentEmpty
└── Document

Example