ExternalReplyInfo#
- class pyrogram.types.ExternalReplyInfo#
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
- Parameters:
origin (
User
, optional) – Origin of the message replied to by the given messagechat (
Chat
, optional) – Chat the original message belongs to. Available only if the chat is a supergroup or a channel.message_id (
int
, 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 messageanimation (
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.paid_media (
PaidMediaInfo
, optional) – Message contains paid media; information about the paid media.photo (
Photo
, optional) – Message is a photo, information about 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 (
bool
, optional) – True, if the message media is covered by a spoiler animation.contact (
Contact
, optional) – Message is a shared contact, information about the contact.dice (
Dice
, optional) – A dice containing a value that is randomly generated by Telegram.game (
Game
, optional) – Message is a game, information about the game.giveaway (
Giveaway
, optional) – Message is a scheduled giveaway, information about the giveawaygiveaway_winners (
GiveawayWinners
, optional) – A giveaway with public winners was completedinvoice (
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.