Class ExternalReplyInfo

Hierarchy (view full)

  • Base
    • ExternalReplyInfo

Constructors

Properties

animation?: Animation

Message is an animation, information about the animation

audio?: Audio

Message is an audio file, information about the file

chat?: Chat

Chat the original message belongs to. Available only if the chat is a supergroup or a channel

contact?: Contact

Message is a shared contact, information about the contact

dice?: Dice

Message is a dice with random value

document?: Document

Message is a general file, information about the file

game?: Game

Message is a game, information about the game. More about games

giveaway?: Giveaway

Message is a scheduled giveaway, information about the giveaway

giveawayWinners?: GiveawayWinners

A giveaway with public winners was completed

invoice?: Invoice

Message is an invoice for a payment, information about the invoice. More about payments

linkPreviewOpts?: LinkPreviewOptions

Options used for link preview generation for the original message, if it is a text message

location?: Location

Message is a shared location, information about the location

mediaSpoiler?: true

True, if the message media is covered by a spoiler animation

messageId?: string

Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel

Origin of the message replied to by the given message

paidMedia?: PaidMediaInfo

Message contains paid media; information about the paid media

photo?: Photo[]

Message is a photo, available sizes of the photo

poll?: Poll

Message is a native poll, information about the poll

sticker?: Sticker

Message is a sticker, information about the sticker

story?: Story

Message is a forwarded story

venue?: Venue

Message is a venue, information about the venue

video?: Video

Message is a video, information about the video

videoNote?: VideoNote

Message is a video note, information about the video message

voice?: Voice

Message is a voice message, information about the file

Accessors

Methods

  • Parameters

    • data: ExternalReplyInfo

      Data about the contains information about a message that is being replied to, which may come from another chat or forum topic

    Returns ExternalReplyInfo

  • Protected

    Updates the current instance with new data and returns a clone of the updated instance

    Parameters

    • data: Record<string, any>

      The data to update the instance with

    Returns Base

    A clone of the updated instance