class Tourmaline::ExternalReplyInfo
- Tourmaline::ExternalReplyInfo
- Reference
- Object
Overview
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(origin : Tourmaline::MessageOriginChannel | Tourmaline::MessageOriginChat | Tourmaline::MessageOriginHiddenUser | Tourmaline::MessageOriginUser, chat : Tourmaline::Chat | Nil = nil, message_id : Int32 | Int64 | Nil = nil, link_preview_options : Tourmaline::LinkPreviewOptions | Nil = nil, animation : Tourmaline::Animation | Nil = nil, audio : Tourmaline::Audio | Nil = nil, document : Tourmaline::Document | Nil = nil, photo : Array(Tourmaline::PhotoSize) = [] of Tourmaline::PhotoSize, sticker : Tourmaline::Sticker | Nil = nil, story : Tourmaline::Story | Nil = nil, video : Tourmaline::Video | Nil = nil, video_note : Tourmaline::VideoNote | Nil = nil, voice : Tourmaline::Voice | Nil = nil, has_media_spoiler : Bool | Nil = nil, contact : Tourmaline::Contact | Nil = nil, dice : Tourmaline::Dice | Nil = nil, game : Tourmaline::Game | Nil = nil, giveaway : Tourmaline::Giveaway | Nil = nil, giveaway_winners : Tourmaline::GiveawayWinners | Nil = nil, invoice : Tourmaline::Invoice | Nil = nil, location : Tourmaline::Location | Nil = nil, poll : Tourmaline::Poll | Nil = nil, venue : Tourmaline::Venue | Nil = nil)
Instance Method Summary
-
#animation : Tourmaline::Animation | Nil
Optional.
-
#animation=(animation : Tourmaline::Animation | Nil)
Optional.
-
#audio : Tourmaline::Audio | Nil
Optional.
-
#audio=(audio : Tourmaline::Audio | Nil)
Optional.
-
#chat : Tourmaline::Chat | Nil
Optional.
-
#chat=(chat : Tourmaline::Chat | Nil)
Optional.
-
#contact : Tourmaline::Contact | Nil
Optional.
-
#contact=(contact : Tourmaline::Contact | Nil)
Optional.
-
#dice : Tourmaline::Dice | Nil
Optional.
-
#dice=(dice : Tourmaline::Dice | Nil)
Optional.
-
#document : Tourmaline::Document | Nil
Optional.
-
#document=(document : Tourmaline::Document | Nil)
Optional.
-
#game : Tourmaline::Game | Nil
Optional.
-
#game=(game : Tourmaline::Game | Nil)
Optional.
-
#giveaway : Tourmaline::Giveaway | Nil
Optional.
-
#giveaway=(giveaway : Tourmaline::Giveaway | Nil)
Optional.
-
#giveaway_winners : Tourmaline::GiveawayWinners | Nil
Optional.
-
#giveaway_winners=(giveaway_winners : Tourmaline::GiveawayWinners | Nil)
Optional.
-
#has_media_spoiler=(has_media_spoiler : Bool | Nil)
Optional.
-
#has_media_spoiler? : Bool | Nil
Optional.
-
#invoice : Tourmaline::Invoice | Nil
Optional.
-
#invoice=(invoice : Tourmaline::Invoice | Nil)
Optional.
-
#link_preview_options : Tourmaline::LinkPreviewOptions | Nil
Optional.
-
#link_preview_options=(link_preview_options : Tourmaline::LinkPreviewOptions | Nil)
Optional.
-
#location : Tourmaline::Location | Nil
Optional.
-
#location=(location : Tourmaline::Location | Nil)
Optional.
-
#message_id : Int32 | Int64 | Nil
Optional.
-
#message_id=(message_id : Int32 | Int64 | Nil)
Optional.
-
#origin : Tourmaline::MessageOrigin
Origin of the message replied to by the given message
-
#origin=(origin : Tourmaline::MessageOrigin)
Origin of the message replied to by the given message
-
#photo : Array(Tourmaline::PhotoSize)
Optional.
-
#photo=(photo : Array(Tourmaline::PhotoSize))
Optional.
-
#poll : Tourmaline::Poll | Nil
Optional.
-
#poll=(poll : Tourmaline::Poll | Nil)
Optional.
-
#sticker : Tourmaline::Sticker | Nil
Optional.
-
#sticker=(sticker : Tourmaline::Sticker | Nil)
Optional.
-
#story : Tourmaline::Story | Nil
Optional.
-
#story=(story : Tourmaline::Story | Nil)
Optional.
-
#venue : Tourmaline::Venue | Nil
Optional.
-
#venue=(venue : Tourmaline::Venue | Nil)
Optional.
-
#video : Tourmaline::Video | Nil
Optional.
-
#video=(video : Tourmaline::Video | Nil)
Optional.
-
#video_note : Tourmaline::VideoNote | Nil
Optional.
-
#video_note=(video_note : Tourmaline::VideoNote | Nil)
Optional.
-
#voice : Tourmaline::Voice | Nil
Optional.
-
#voice=(voice : Tourmaline::Voice | Nil)
Optional.
Constructor Detail
Instance Method Detail
Optional. Message is an animation, information about the animation
Optional. Message is an animation, information about the animation
Optional. Message is an audio file, information about the file
Optional. Message is an audio file, information about the file
Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
Optional. Message is a shared contact, information about the contact
Optional. Message is a shared contact, information about the contact
Optional. Message is a general file, information about the file
Optional. Message is a general file, information about the file
Optional. Message is a game, information about the game. More about games: https://core.telegram.org/bots/api#games
Optional. Message is a game, information about the game. More about games: https://core.telegram.org/bots/api#games
Optional. Message is a scheduled giveaway, information about the giveaway
Optional. Message is a scheduled giveaway, information about the giveaway
Optional. A giveaway with public winners was completed
Optional. A giveaway with public winners was completed
Optional. True, if the message media is covered by a spoiler animation
Optional. True, if the message media is covered by a spoiler animation
Optional. Message is an invoice for a payment, information about the invoice. More about payments: https://core.telegram.org/bots/api#payments
Optional. Message is an invoice for a payment, information about the invoice. More about payments: https://core.telegram.org/bots/api#payments
Optional. Options used for link preview generation for the original message, if it is a text message
Optional. Options used for link preview generation for the original message, if it is a text message
Optional. Message is a shared location, information about the location
Optional. Message is a shared location, information about the location
Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
Origin of the message replied to by the given message
Optional. Message is a photo, available sizes of the photo
Optional. Message is a photo, available sizes of the photo
Optional. Message is a native poll, information about the poll
Optional. Message is a sticker, information about the sticker
Optional. Message is a sticker, information about the sticker
Optional. Message is a venue, information about the venue
Optional. Message is a video, information about the video
Optional. Message is a video note, information about the video message
Optional. Message is a video note, information about the video message
Optional. Message is a voice message, information about the file
Optional. Message is a voice message, information about the file