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

1.1 KiB

title description image redirect_from
messages.messages Full list of messages with auxilary data. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_messages.html

Constructor: messages.messages

Back to constructors index

Full list of messages with auxilary data.

Attributes:

Name Type Required Description
messages Array of Message Yes List of messages
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.Messages

Example:

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

Or, if you're into Lua:

messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}}