mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
messages.dialogs | Full list of chats with messages and auxiliary data. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_dialogs.html |
Constructor: messages.dialogs
Full list of chats with messages and auxiliary data.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
dialogs | Array of Dialog | Yes | List of chats |
messages | Array of Message | Yes | List of last messages from each chat |
chats | Array of Chat | Yes | List of groups mentioned in the chats |
users | Array of User | Yes | List 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]];