# 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

[Back to constructors index](/API_docs/constructors/index.html)



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](/API_docs/types/long.html) | Yes|User id|
|top\_msg\_id|[int](/API_docs/types/int.html) | Optional|
|action|[SendMessageAction](/API_docs/types/SendMessageAction.html) | Yes|Action type|



### Type: [Update](/API_docs/types/Update.html)


### Example:

```
$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => long, 'top_msg_id' => int, 'action' => SendMessageAction];
```
