MadelineProtoDocs/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md

39 lines
1.0 KiB
Markdown

---
title: updateEncryptedChatTyping
description: Interlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time there is no repeated update, it shall be considered that the interlocutor stopped typing.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateEncryptedChatTyping
[Back to constructors index](index.md)
Interlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time there is no repeated update, it shall be considered that the interlocutor stopped typing.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int];
```
Or, if you're into Lua:
```lua
updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int}
```