Skip to main content

messages.discussionMessage

Information about a message thread

type tg.MessagesDiscussionMessage struct { /* ... */ }

Fields

NameTypeRequiredDescription
Messages[]MessageClassyesThe messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID).
MaxIDintMessage ID of latest reply in this thread
ReadInboxMaxIDintMessage ID of latest read incoming message in this thread
ReadOutboxMaxIDintMessage ID of latest read outgoing message in this thread
UnreadCountintyesNumber of unread messages
Chats[]ChatClassyesChats mentioned in constructor
Users[]UserClassyesUsers mentioned in constructor

Returned by

References