Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>MessageReplies_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MessageReplies_
import { MessageReplies_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Constructors

new
MessageReplies_(params: { comments?: true; replies: number; replies_pts: number; recent_repliers?: Array<enums.Peer>; channel_id?: bigint; max_id?: number; read_max_id?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
channel_id: bigint

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

optional
comments: true

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

optional
max_id: number

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

optional
read_max_id: number

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

optional
recent_repliers: Array<enums.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.

replies: number

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

replies_pts: number

PTS of the message that started this thread.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc