MadelineProtoDocs/old_docs/API_docs_v105/constructors/messages.chatsSlice.md
2019-12-27 18:46:25 +01: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}}