messages.discussionMessage
Information about a message thread
type tg.MessagesDiscussionMessage struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Messages | []MessageClass | yes | The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID). |
MaxID | int | — | Message ID of latest reply in this thread |
ReadInboxMaxID | int | — | Message ID of latest read incoming message in this thread |
ReadOutboxMaxID | int | — | Message ID of latest read outgoing message in this thread |
UnreadCount | int | yes | Number of unread messages |
Chats | []ChatClass | yes | Chats mentioned in constructor |
Users | []UserClass | yes | Users mentioned in constructor |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
messages.discussionMessage#a6341782