telegramx.js

ExternalReplyInfo

interface

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

Declaration

interface ExternalReplyInfo 

Properties

animationproperty#
animation?: Animation;

Optional. Message is an animation, information about the animation

audioproperty#
audio?: Audio;

Optional. Message is an audio file, information about the file

chatproperty#
chat?: Chat;

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

checklistproperty#
checklist?: Checklist;

Optional. Message is a checklist

contactproperty#
contact?: Contact;

Optional. Message is a shared contact, information about the contact

diceproperty#
dice?: Dice;

Optional. Message is a dice with random value

documentproperty#
document?: Document;

Optional. Message is a general file, information about the file

gameproperty#
game?: Game;

Optional. Message is a game, information about the game. More about games: https://core.telegram.org/bots/api#games

giveaway_winners?: GiveawayWinners;

Optional. A giveaway with public winners was completed

giveawayproperty#
giveaway?: Giveaway;

Optional. Message is a scheduled giveaway, information about the giveaway

has_media_spoiler?: boolean;

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

invoiceproperty#
invoice?: Invoice;

Optional. Message is an invoice for a payment, information about the invoice. More about payments: https://core.telegram.org/bots/api#payments

live_photoproperty#
live_photo?: LivePhoto;

Optional. Message is a live photo, information about the live photo

locationproperty#
location?: Location;

Optional. Message is a shared location, information about the location

message_idproperty#
message_id?: number;

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

originproperty#
origin: MessageOrigin;

Origin of the message replied to by the given message

photoproperty#
photo?: PhotoSize[];

Optional. Message is a photo, available sizes of the photo

pollproperty#
poll?: Poll;

Optional. Message is a native poll, information about the poll

stickerproperty#
sticker?: Sticker;

Optional. Message is a sticker, information about the sticker

storyproperty#
story?: Story;

Optional. Message is a forwarded story

venueproperty#
venue?: Venue;

Optional. Message is a venue, information about the venue

video_noteproperty#
video_note?: VideoNote;

Optional. Message is a video note, information about the video message

videoproperty#
video?: Video;

Optional. Message is a video, information about the video

voiceproperty#
voice?: Voice;

Optional. Message is a voice message, information about the file