1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:06:56 +01:00
MadelineProto/docs/TD_docs/constructors/chats.md
2017-07-23 16:33:46 +02:00

629 B

title description
chats Contains list of chats

Constructor: chats

Back to constructors index

Contains list of chats

Attributes:

Name Type Required Description
chats Array of chat Yes List of chats

Type: Chats

Example:

$chats = ['_' => 'chats', 'chats' => [chat]];

PWRTelegram json-encoded version:

{"_": "chats", "chats": [chat]}

Or, if you're into Lua:

chats={_='chats', chats={chat}}