Layer 220
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
updateChatUserTyping#83487af0 chat_id:long from_id:Peer action:SendMessageAction = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| ChatId | long | Group id |
| FromId | Peer | Peer that started typing (can be the chat itself, in case of anonymous admins). |
| Action | SendMessageAction | Type of action |
Returns
UpdateGogram Example
// Creating UpdateChatUserTyping constructor obj := &tg.UpdateChatUserTyping{ ChatId: int64(0), FromId: &tg.Peer{}, Action: &tg.SendMessageAction{}, }