Link Search Menu Expand Document

Constructor: messages.dialogsSlice

Back to constructors index

Incomplete list of dialogs with messages and auxiliary data.

Attributes:

NameTypeRequiredDescription
countintYesTotal number of dialogs
dialogsArray of DialogYesList of dialogs
messagesArray of MessageYesList of last messages from dialogs
chatsArray of ChatYesList of chats mentioned in dialogs
usersArray of UserYesList 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]];