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
CommentsboolWhether 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[]PeerClassFor 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.
ChannelIDint64For channel post comments, contains the ID of the associated discussion supergroup
MaxIDintID of the latest message in this thread or comment section.
ReadMaxIDintContains the ID of the latest read message in this thread or comment section.

References