MessageReplies
- class pyrogram.raw.types.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).
Constructor of
MessageReplies.- Details:
Layer:
223ID:
83D60FC2
- Parameters:
replies (
int32-bit) – Contains the total number of replies in this thread or comment section.replies_pts (
int32-bit) – PTS of the message that started this thread.comments (
bool, optional) – Whether this constructor contains information about the comment section of a channel post, or a simple message threadrecent_repliers (List 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 (
int64-bit, optional) – For channel post comments, contains the ID of the associated discussion supergroupmax_id (
int32-bit, optional) – ID of the latest message in this thread or comment section.read_max_id (
int32-bit, optional) – Contains the ID of the latest read message in this thread or comment section.
TL Schema
messageReplies#83d60fc2
flags:#
comments:flags.0?true
replies:int
replies_pts:int
recent_repliers:flags.1?Vector<Peer>
channel_id:flags.0?long
max_id:flags.2?int
read_max_id:flags.3?int
= MessageReplies
Parameter Tree
true (optional)intintVector < Peer > (optional)PeerUserlongPeerChatlongPeerChannellonglong (optional)int (optional)int (optional)Example
MessageReplies(
replies=0,
replies_pts=0,
)