messages.discussionMessage #

Information about a message thread

Layer 223

messages.discussionMessage#a6341782 flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
messagesVector<Message>The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID).
max_idflags.0?intMessage ID of latest reply in this thread
read_inbox_max_idflags.1?intMessage ID of latest read incoming message in this thread
read_outbox_max_idflags.2?intMessage ID of latest read outgoing message in this thread
unread_countintNumber of unread messages
chatsVector<Chat>Chats mentioned in constructor
usersVector<User>Users mentioned in constructor

Type #

messages.DiscussionMessage

Message threads #

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.