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).
MaxIDint—Message ID of latest reply in this thread
ReadInboxMaxIDint—Message ID of latest read incoming message in this thread
ReadOutboxMaxIDint—Message 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​