Constructor: messages.discussionMessage
Information about a message thread
Attributes:
Name | Type | Required | Description |
---|---|---|---|
messages | Array of Message | Yes | The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID). |
max_id | int | Optional | Message ID of latest reply in this thread |
read_inbox_max_id | int | Optional | Message ID of latest read incoming message in this thread |
read_outbox_max_id | int | Optional | Message ID of latest read outgoing message in this thread |
unread_count | int | Yes | Number of unread messages |
chats | Array of Chat | Yes | Chats mentioned in constructor |
users | Array of User | Yes | Users mentioned in constructor |
Type: messages.DiscussionMessage
Example:
$messages_discussionMessage = ['_' => 'messages.discussionMessage', 'messages' => [Message, Message], 'max_id' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chats' => [Chat, Chat], 'users' => [User, User]];