# updateChannelUserTyping

> A user is typing in a supergroup, channel or message thread

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



A user is typing in a [supergroup, channel](https://core.telegram.org/api/channel) or [message thread](https://core.telegram.org/api/threads)

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[long](/API_docs/types/long.html) | Yes|Channel ID|
|top\_msg\_id|[int](/API_docs/types/int.html) | Optional|[Thread ID](https://core.telegram.org/api/threads)|
|from\_id|[Peer](/API_docs/types/Peer.html) | Yes|The peer that is typing|
|action|[SendMessageAction](/API_docs/types/SendMessageAction.html) | Yes|Whether the user is typing, sending a media or doing something else|



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


### Example:

```
$updateChannelUserTyping = ['_' => 'updateChannelUserTyping', 'channel_id' => long, 'top_msg_id' => int, 'from_id' => Peer, 'action' => SendMessageAction];
```
