mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
840 B
840 B
title | description |
---|---|
messages | Contains list of messages |
Constructor: messages
Contains list of messages
Attributes:
Name | Type | Required | Description |
---|---|---|---|
total_count | int | Yes | Approximate total count of found messages |
messages | Array of message | Yes | List of messages |
Type: Messages
Example:
$messages = ['_' => 'messages', 'total_count' => int, 'messages' => [message], ];
PWRTelegram json-encoded version:
{"_":"messages","total_count":"int","messages":["message"]}
Or, if you're into Lua:
messages={_='messages', total_count=int, messages={message}, }