1.3 KiB
1.3 KiB
title | description | image | redirect_from |
---|---|---|---|
messages.discussionMessage | messages.discussionMessage attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_discussionMessage.html |
Constructor: messages.discussionMessage
Attributes:
Name | Type | Required |
---|---|---|
messages | Array of Message | Yes |
max_id | int | Optional |
read_inbox_max_id | int | Optional |
read_outbox_max_id | int | Optional |
chats | Array of Chat | Yes |
users | Array of User | Yes |
Type: messages.DiscussionMessage
Example:
$messages.discussionMessage = ['_' => 'messages.discussionMessage', 'messages' => [Message, Message], 'max_id' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'chats' => [Chat, Chat], 'users' => [User, User]];
Or, if you're into Lua:
messages.discussionMessage={_='messages.discussionMessage', messages={Message}, max_id=int, read_inbox_max_id=int, read_outbox_max_id=int, chats={Chat}, users={User}}