# ExternalReplyInfo

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

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/externalreplyinfo  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

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

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| origin | MessageOrigin | Always | Origin of the message replied to by the given message |
| chat | Chat | Optional | Chat the original message belongs to. Available only if the chat is a supergroup or a channel. |
| message_id | Integer | Optional | Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel. |
| link_preview_options | LinkPreviewOptions | Optional | Options used for link preview generation for the original message, if it is a text message |
| animation | Animation | Optional | Message is an animation, information about the animation |
| audio | Audio | Optional | Message is an audio file, information about the file |
| document | Document | Optional | Message is a general file, information about the file |
| live_photo | LivePhoto | Optional | Message is a live photo, information about the live photo |
| paid_media | PaidMediaInfo | Optional | Message contains paid media; information about the paid media |
| photo | Array of PhotoSize | Optional | Message is a photo, available sizes of the photo |
| sticker | Sticker | Optional | Message is a sticker, information about the sticker |
| story | Story | Optional | Message is a forwarded story |
| video | Video | Optional | Message is a video, information about the video |
| video_note | VideoNote | Optional | Message is a video note, information about the video message |
| voice | Voice | Optional | Message is a voice message, information about the file |
| has_media_spoiler | True | Optional | True, if the message media is covered by a spoiler animation |
| checklist | Checklist | Optional | Message is a checklist |
| contact | Contact | Optional | Message is a shared contact, information about the contact |
| dice | Dice | Optional | Message is a dice with random value |
| game | Game | Optional | Message is a game, information about the game. More about games » |
| giveaway | Giveaway | Optional | Message is a scheduled giveaway, information about the giveaway |
| giveaway_winners | GiveawayWinners | Optional | A giveaway with public winners was completed |
| invoice | Invoice | Optional | Message is an invoice for a payment, information about the invoice. More about payments » |
| location | Location | Optional | Message is a shared location, information about the location |
| poll | Poll | Optional | Message is a native poll, information about the poll |
| venue | Venue | Optional | Message is a venue, information about the venue |

> [!TIP]
> **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.
