MadelineProtoDocs/docs/API_docs/constructors/updateChat.md

30 lines
596 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```