mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
30 lines
596 B
Markdown
30 lines
596 B
Markdown
---
|
|
title: "updateChat"
|
|
description: "A new chat is available"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: updateChat
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
A new chat is available
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chat\_id|[long](/API_docs/types/long.html) | Yes|Chat ID|
|
|
|
|
|
|
|
|
### Type: [Update](/API_docs/types/Update.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$updateChat = ['_' => 'updateChat', 'chat_id' => long];
|
|
```
|