MadelineProtoDocs/old_docs/API_docs_v18/constructors/messages.chats.md
2019-12-27 18:46:25 +01:00

840 B

title description image redirect_from
messages.chats List of chats with auxiliary data. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_chats.html

Constructor: messages.chats

Back to constructors index

List of chats with auxiliary data.

Attributes:

Name Type Required Description
chats Array of Chat Yes Chats
users Array of User Yes Users

Type: messages.Chats

Example:

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

Or, if you're into Lua:

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