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>MessageReplyHeader_

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

Message replies and thread information

Constructors

new
MessageReplyHeader_(params?: { reply_to_scheduled?: true; forum_topic?: true; quote?: true; reply_to_msg_id?: number; reply_to_peer_id?: enums.Peer; reply_from?: enums.MessageFwdHeader; reply_media?: enums.MessageMedia; reply_to_top_id?: number; quote_text?: string; quote_entities?: Array<enums.MessageEntity>; quote_offset?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
forum_topic: true

Whether this message was sent in a forum topic (except for the General topic).

optional
quote: true

Whether this message is quoting a part of another message.

optional
quote_entities: Array<enums.MessageEntity>

Message entities for styled text from the quote_text field.

optional
quote_offset: number

Offset of the message quote_text within the original message (in UTF-16 code units).

optional
quote_text: string

Used to quote-reply to only a certain section (specified here) of the original message.

optional
reply_from: enums.MessageFwdHeader

When replying to a message sent by a certain peer to another chat, contains info about the peer that originally sent the message to that other chat.

optional
reply_media: enums.MessageMedia

When replying to a media sent by a certain peer to another chat, contains the media of the replied-to message.

optional
reply_to_msg_id: number

ID of message to which this message is replying

optional
reply_to_peer_id: enums.Peer

For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID

optional
reply_to_scheduled: true

This is a reply to a scheduled message.

optional
reply_to_top_id: number

ID of the message that started this message thread

Static Properties

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