Layer 220
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
updateUserTyping#c01e857f user_id:long action:SendMessageAction = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| UserId | long | User id |
| Action | SendMessageAction | Action type |
Returns
UpdateGogram Example
// Creating UpdateUserTyping constructor obj := &tg.UpdateUserTyping{ UserId: int64(0), Action: &tg.SendMessageAction{}, }