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
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ ├── emoticonstring
│ ├── msg_idint
│ └── interactionDataJSON
│ └── DataJSON
│ └── datastring
│ └── emoticonstring
│ ├── random_idlong
│ └── textTextWithEntities
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
│ ├── random_idlong
│ └── rich_messageInputRichMessage
│ ├── InputRichMessage
│ │ ├── rtltrue (optional)
│ │ ├── noautolinktrue (optional)
│ │ ├── blocksVector < 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
│ │ ├── photosVector < InputPhoto > (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ ├── documentsVector < InputDocument > (optional)
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ └── usersVector < InputUser > (optional)
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── InputRichMessageHTML
│ │ ├── rtltrue (optional)
│ │ ├── noautolinktrue (optional)
│ │ ├── htmlstring
│ │ └── filesVector < InputRichFile > (optional)
│ │ ├── InputRichFilePhoto
│ │ └── InputRichFileDocument
│ ├── rtltrue (optional)
│ ├── noautolinktrue (optional)
│ ├── markdownstring
│ └── filesVector < InputRichFile > (optional)
│ ├── InputRichFilePhoto
│ └── InputRichFileDocument
├── random_idlong
└── rich_messageRichMessage
└── RichMessage
├── rtltrue (optional)
├── parttrue (optional)
├── blocksVector < 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
├── photosVector < Photo >
│ ├── PhotoEmpty
│ └── Photo
└── documentsVector < Document >
├── DocumentEmpty
└── Document

Example