Constructor: 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
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| user_id | long | Yes | User id |
| top_msg_id | int | Optional | |
| action | SendMessageAction | Yes | Action type |
Type: Update
Example:
$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => long, 'top_msg_id' => int, 'action' => SendMessageAction];