MadelineProtoDocs/old_docs/API_docs_v21/constructors/messages.chatsSlice.md
2020-06-16 17:50:25 +02:00

1.1 KiB

title description image redirect_from
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 /API_docs/constructors/messages_chatsSlice.html

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}}