MadelineProtoDocs/old_docs/API_docs_v75/constructors/messages_chatsSlice.md
2019-12-27 17:48:04 +01:00

1020 B

title description image
messages.chatsSlice Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.chatsSlice

Back to constructors index

Partial list of chats, more would have to be fetched with pagination

Attributes:

Name Type Required Description
count int Yes Total number of results that were found server-side (not all are included in chats)
chats Array of Chat Yes Chats

Type: messages_Chats

Example:

$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]];

Or, if you're into Lua:

messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}}