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).
Constructor schema is available as of layer 133. Switch ยป
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| comments | flags.0?true | Whether this constructor contains information about the comment section of a channel post, or a simple message thread |
| replies | int | Contains the total number of replies in this thread or comment section. |
| replies_pts | int | PTS of the message that started this thread. |
| recent_repliers | flags.1?Vector<Peer> | 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. |
| channel_id | flags.0?long | For channel post comments, contains the ID of the associated discussion supergroup |
| max_id | flags.2?int | ID of the latest message in this thread or comment section. |
| read_max_id | flags.3?int | Contains the ID of the latest read message in this thread or comment section. |
Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.
How to subscribe to updates and handle them properly.
Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.