2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: messages.chats
|
|
|
|
description: messages_chats attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: messages.chats
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [messages\_Chats](../types/messages_Chats.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-03-11 19:54:51 +01:00
|
|
|
$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ];
|
2017-01-25 23:16:22 +01:00
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
messages_chats={_='messages.chats', chats={Chat}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|