ExternalReplyInfo
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
Properties
origin
origin: MessageOrigin;
Origin of the message replied to by the given message
chat
chat?: Chat;
Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
message_id
message_id?: number;
Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
link_preview_options
link_preview_options?: LinkPreviewOptions;
Options used for link preview generation for the original message, if it is a text message
animation
animation?: Animation;
Message is an animation, information about the animation
audio
audio?: Audio;
Message is an audio file, information about the file
document
document?: Document;
Message is a general file, information about the file
photo
photo?: PhotoSize[];
Message is a photo, available sizes of the photo
sticker
sticker?: Sticker;
Message is a sticker, information about the sticker
story
story?: Story;
Message is a forwarded story
video
video?: Video;
Message is a video, information about the video
video_note
video_note?: VideoNote;
Message is a video note, information about the video message
voice
voice?: Voice;
Message is a voice message, information about the file
has_media_spoiler
has_media_spoiler?: true;
True, if the message media is covered by a spoiler animation
contact
contact?: Contact;
Message is a shared contact, information about the contact
dice
dice?: Dice;
Message is a dice with random value
game
game?: Game;
Message is a game, information about the game. More about games »
giveaway
giveaway?: Giveaway;
Message is a scheduled giveaway, information about the giveaway
giveaway_winners
giveaway_winners?: GiveawayWinners;
A giveaway with public winners was completed
invoice
invoice?: Invoice;
Message is an invoice for a payment, information about the invoice. More about payments »
location
location?: Location;
Message is a shared location, information about the location
paid_media
paid_media?: PaidMediaInfo;
Message contains paid media; information about the paid media
poll
poll?: Poll;
Message is a native poll, information about the poll
venue
venue?: Venue;
Message is a venue, information about the venue