Skip to main content

messageReplies

Info about the comment section of a channel post, a simple message thread, a forum topic, or a direct messages topic (all features ultimately based on message threads).

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

Fields​

NameTypeRequiredDescription
Commentsbool—Whether this constructor contains information about the comment section of a channel post, or a simple message thread
RepliesintyesContains the total number of replies in this thread or comment section.
RepliesPtsintyesPTS of the message that started this thread.
RecentRepliers[]PeerClass—For channel post comments, contains information about the last few comment posters for a specific thread, to show a small list of commenter profile pictures in client previews.
ChannelIDint64—For channel post comments, contains the ID of the associated discussion supergroup
MaxIDint—ID of the latest message in this thread or comment section.
ReadMaxIDint—Contains the ID of the latest read message in this thread or comment section.

References​