ExternalReplyInfo¶
- class aiogram.types.external_reply_info.ExternalReplyInfo(*, origin: MessageOriginUser | MessageOriginHiddenUser | MessageOriginChat | MessageOriginChannel, chat: Chat | None = None, message_id: int | None = None, link_preview_options: LinkPreviewOptions | None = None, animation: Animation | None = None, audio: Audio | None = None, document: Document | None = None, paid_media: PaidMediaInfo | None = None, photo: List[PhotoSize] | None = None, sticker: Sticker | None = None, story: Story | None = None, video: Video | None = None, video_note: VideoNote | None = None, voice: Voice | None = None, has_media_spoiler: bool | None = None, contact: Contact | None = None, dice: Dice | None = None, game: Game | None = None, giveaway: Giveaway | None = None, giveaway_winners: GiveawayWinners | None = None, invoice: Invoice | None = None, location: Location | None = None, poll: Poll | None = None, venue: Venue | None = None, **extra_data: Any)[source]¶
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
Source: https://core.telegram.org/bots/api#externalreplyinfo
- origin: MessageOriginUser | MessageOriginHiddenUser | MessageOriginChat | MessageOriginChannel¶
Origin of the message replied to by the given message
- chat: Chat | None¶
Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
- message_id: int | None¶
Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
- link_preview_options: LinkPreviewOptions | None¶
Optional. Options used for link preview generation for the original message, if it is a text message
- paid_media: PaidMediaInfo | None¶
Optional. Message contains paid media; information about the paid media
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.
- video_note: VideoNote | None¶
Optional. Message is a video note, information about the video message
- has_media_spoiler: bool | None¶
Optional.
True
, if the message media is covered by a spoiler animation
- game: Game | None¶
Optional. Message is a game, information about the game. More about games »
- giveaway: Giveaway | None¶
Optional. Message is a scheduled giveaway, information about the giveaway
- giveaway_winners: GiveawayWinners | None¶
Optional. A giveaway with public winners was completed
- invoice: Invoice | None¶
Optional. Message is an invoice for a payment, information about the invoice. More about payments »