MadelineProtoDocs/docs/API_docs/constructors/updateChannelUserTyping.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updateChannelUserTyping"
description: "A user is typing in a supergroup, channel or message thread"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChannelUserTyping
[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];
```