Interface ExternalReplyInfo

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

interface ExternalReplyInfo {
    animation?: Animation;
    audio?: Audio;
    chat?: Chat;
    contact?: Contact;
    dice?: Dice;
    document?: Document;
    game?: Game;
    giveaway?: Giveaway;
    giveaway_winners?: GiveawayWinners;
    has_media_spoiler?: true;
    invoice?: Invoice;
    link_preview_options?: LinkPreviewOptions;
    location?: Location;
    message_id?: number;
    origin: MessageOrigin;
    paid_media?: PaidMediaInfo;
    photo?: PhotoSize[];
    poll?: Poll;
    sticker?: Sticker;
    story?: Story;
    venue?: Venue;
    video?: Video;
    video_note?: VideoNote;
    voice?: Voice;
}

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

giveaway_winners?: GiveawayWinners

A giveaway with public winners was completed

has_media_spoiler?: true

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

invoice?: Invoice

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

link_preview_options?: 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

message_id?: number

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

paid_media?: PaidMediaInfo

Message contains paid media; information about the paid media

photo?: PhotoSize[]

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

video_note?: VideoNote

Message is a video note, information about the video message

voice?: Voice

Message is a voice message, information about the file