1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 07:36:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateChat.md

45 lines
683 B
Markdown
Raw Normal View History

---
title: updateChat
description: Some date about chat has been changed
---
## Constructor: updateChat
[Back to constructors index](index.md)
Some date about chat has been changed
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|chat|[chat](../types/chat.md) | Yes|New data about the chat|
### Type: [Update](../types/Update.md)
### Example:
```
$updateChat = ['_' => 'updateChat', 'chat' => chat, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"updateChat","chat":"chat"}
```
Or, if you're into Lua:
```
updateChat={_='updateChat', chat=chat, }
```