Link Search Menu Expand Document

Constructor: messages.dialogs

Back to constructors index

Full list of chats with messages and auxiliary data.

Attributes:

NameTypeRequiredDescription
dialogsArray of DialogYesList of chats
messagesArray of MessageYesList of last messages from each chat
chatsArray of ChatYesList of groups mentioned in the chats
usersArray of UserYesList of users mentioned in messages and groups

Type: messages.Dialogs

Example:

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