ExternalReplyInfo

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

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

Fields

FieldTypeRequiredDescription
originMessageOriginAlwaysOrigin of the message replied to by the given message
chatChatOptionalChat the original message belongs to. Available only if the chat is a supergroup or a channel.
message_idIntegerOptionalUnique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
link_preview_optionsLinkPreviewOptionsOptionalOptions used for link preview generation for the original message, if it is a text message
animationAnimationOptionalMessage is an animation, information about the animation
audioAudioOptionalMessage is an audio file, information about the file
documentDocumentOptionalMessage is a general file, information about the file
live_photoLivePhotoOptionalMessage is a live photo, information about the live photo
paid_mediaPaidMediaInfoOptionalMessage contains paid media; information about the paid media
photoArray of PhotoSizeOptionalMessage is a photo, available sizes of the photo
stickerStickerOptionalMessage is a sticker, information about the sticker
storyStoryOptionalMessage is a forwarded story
videoVideoOptionalMessage is a video, information about the video
video_noteVideoNoteOptionalMessage is a video note, information about the video message
voiceVoiceOptionalMessage is a voice message, information about the file
has_media_spoilerTrueOptionalTrue, if the message media is covered by a spoiler animation
checklistChecklistOptionalMessage is a checklist
contactContactOptionalMessage is a shared contact, information about the contact
diceDiceOptionalMessage is a dice with random value
gameGameOptionalMessage is a game, information about the game. More about games »
giveawayGiveawayOptionalMessage is a scheduled giveaway, information about the giveaway
giveaway_winnersGiveawayWinnersOptionalA giveaway with public winners was completed
invoiceInvoiceOptionalMessage is an invoice for a payment, information about the invoice. More about payments »
locationLocationOptionalMessage is a shared location, information about the location
pollPollOptionalMessage is a native poll, information about the poll
venueVenueOptionalMessage is a venue, information about the venue
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.