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

1.3 KiB

title description image redirect_from
messages.dialogsSlice Incomplete list of dialogs with messages and auxiliary data. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_dialogsSlice.html

Constructor: messages.dialogsSlice

Back to constructors index

Incomplete list of dialogs with messages and auxiliary data.

Attributes:

Name Type Required Description
count int Yes Total number of dialogs
dialogs Array of Dialog Yes List of dialogs
messages Array of Message Yes List of last messages from dialogs
chats Array of Chat Yes List of chats mentioned in dialogs
users Array of User Yes List of users mentioned in messages and chats

Type: messages.Dialogs

Example:

$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];

Or, if you're into Lua:

messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}}