UpdateUserTyping
- class pyrogram.raw.types.UpdateUserTyping
The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing
Constructor of
Update.- Details:
Layer:
227ID:
2A17BF5C
- Parameters:
user_id (
int64-bit) – User idaction (
SendMessageAction) – Action typetop_msg_id (
int32-bit, optional)
TL Schema
updateUserTyping#2a17bf5c
flags:#
user_id:long
top_msg_id:flags.0?int
action:SendMessageAction
= Update
Parameter Tree
UpdateUserTyping
├── user_id →
long├── top_msg_id →
int (optional)└── action →
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│ ├──
MessageEntityBotCommand│ ├──
MessageEntityUrl│ ├──
MessageEntityEmail│ ├──
MessageEntityBold│ ├──
MessageEntityItalic│ ├──
MessageEntityCode│ ├──
MessageEntityPre│ ├──
MessageEntityTextUrl│ ├──
MessageEntityMentionName│ ├──
MessageEntityPhone│ ├──
MessageEntityCashtag│ ├──
MessageEntityUnderline│ ├──
MessageEntityStrike│ ├──
MessageEntityBankCard│ ├──
MessageEntitySpoiler│ ├──
MessageEntityCustomEmoji│ ├──
MessageEntityBlockquote│ ├──
MessageEntityDiffInsert│ ├──
MessageEntityDiffReplace│ └──
MessageEntityDiffDelete│ ├── 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│ └──
InputRichMessageMarkdown│ ├── 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│ ├──
PageBlockRelatedArticles│ ├──
PageBlockMap│ ├──
PageBlockHeading1│ ├──
PageBlockHeading2│ ├──
PageBlockHeading3│ ├──
PageBlockHeading4│ ├──
PageBlockHeading5│ ├──
PageBlockHeading6│ ├──
PageBlockMath│ ├──
PageBlockThinking│ ├──
InputPageBlockMap├── photos →
Vector < Photo >│ ├──
PhotoEmpty│ └──
Photo└── documents →
Vector < Document >├──
DocumentEmpty└──
DocumentExample
UpdateUserTyping(
user_id=0,
action=SendMessageTypingAction(),
)