MadelineProtoDocs/old_docs/API_docs_v14/constructors/messages.chats.md

755 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 List of chats

Type: messages.Chats

Example:

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

Or, if you're into Lua:

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