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:
223ID:
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└──
TextWithEntitiesExample
UpdateUserTyping(
user_id=0,
action=SendMessageTypingAction(),
)