Link Search Menu Expand Document

Constructor: messages.messages

Back to constructors index

Full list of messages with auxiliary data.

Attributes:

NameTypeRequiredDescription
messagesArray of MessageYesList of messages
chatsArray of ChatYesList of chats mentioned in dialogs
usersArray of UserYesList of users mentioned in messages and chats

Type: messages.Messages

Example:

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