Constructor: messageReplies
Info about the comment section of a channel post, or a simple message thread
Attributes:
Name | Type | Required | Description |
---|---|---|---|
comments | Bool | Optional | Whether this constructor contains information about the comment section of a channel post, or a simple message thread |
replies | int | Yes | Contains the total number of replies in this thread or comment section. |
replies_pts | int | Yes | PTS of the message that started this thread. |
recent_repliers | Array of Peer | Optional | 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 | long | Optional | For channel post comments, contains the ID of the associated discussion supergroup |
max_id | int | Optional | ID of the latest message in this thread or comment section. |
read_max_id | int | Optional | Contains the ID of the latest read message in this thread or comment section. |
Type: MessageReplies
Example:
$messageReplies = ['_' => 'messageReplies', 'comments' => Bool, 'replies' => int, 'replies_pts' => int, 'recent_repliers' => [Peer, Peer], 'channel_id' => long, 'max_id' => int, 'read_max_id' => int];