40 lines
725 B
Markdown
40 lines
725 B
Markdown
---
|
|
title: messages.chats
|
|
description: Chats
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: messages.chats
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Chats
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
|
|
|
|
|
|
|
### Type: [messages\_Chats](../types/messages_Chats.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]];
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
messages_chats={_='messages.chats', chats={Chat}, users={User}}
|
|
|
|
```
|
|
|
|
|