2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: messages.chatsSlice
|
|
|
|
description: messages_chatsSlice attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: messages.chatsSlice
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|count|[int](../types/int.md) | Yes|
|
|
|
|
|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_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, '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_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|