Raw.MessageReplies

Raw.MessageReplies

Info about the comment section of a channel post, or a simple message thread

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;
export namespace Raw {
  export class MessageReplies {
    constructor(params: {
      comments?: boolean;
      replies: number;
      repliesPts: number;
      recentRepliers?: Array<Raw.TypePeer>;
      channelId?: bigint;
      maxId?: number;
      readMaxId?: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x83d60fc2

Property

  • comments : boolean or undefined

    Whether this constructor contains information about the comment section of a channel post, or a simple message thread

  • replies : number

    Contains the total number of replies in this thread or comment section.

  • repliesPts : number

    Pts of the message that started this thread.

  • recentRepliers : Array of Raw.TypePeer or undefined

    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.

  • channelId : bigint or undefined

    For channel post comments, contains the id of the associated discussion supergroup

  • maxId : number or undefined

    Id of the latest message in this thread or comment section.

  • readMaxId : number or undefined

    Contains the id of the latest read message in this thread or comment section.