UpdateChatUserTyping
- class pyrogram.raw.types.UpdateChatUserTyping
The user is preparing a message in a group; 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:
83487AF0
- Parameters:
chat_id (
int64-bit) – Group idfrom_id (
Peer) – Peer that started typing (can be the chat itself, in case of anonymous admins).action (
SendMessageAction) – Type of action
TL Schema
updateChatUserTyping#83487af0
chat_id:long
from_id:Peer
action:SendMessageAction
= Update
Parameter Tree
UpdateChatUserTyping
├── chat_id →
long├── from_id →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long└── 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
UpdateChatUserTyping(
chat_id=0,
from_id=PeerUser(user_id=0),
action=SendMessageTypingAction(),
)