Skip to content

class Tourmaline::ExternalReplyInfo
inherits Reference #

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

Constructors#

.new(pull : JSON::PullParser) #

View source
View source

Methods#

#animation : Tourmaline::Animation? #

Optional. Message is an animation, information about the animation

View source

#animation=(animation : Tourmaline::Animation?) #

Optional. Message is an animation, information about the animation

View source

#audio : Tourmaline::Audio? #

Optional. Message is an audio file, information about the file

View source

#audio=(audio : Tourmaline::Audio?) #

Optional. Message is an audio file, information about the file

View source

#chat : Tourmaline::Chat? #

Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.

View source

#chat=(chat : Tourmaline::Chat?) #

Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.

View source

#contact : Tourmaline::Contact? #

Optional. Message is a shared contact, information about the contact

View source

#contact=(contact : Tourmaline::Contact?) #

Optional. Message is a shared contact, information about the contact

View source

#dice : Tourmaline::Dice? #

Optional. Message is a dice with random value

View source

#dice=(dice : Tourmaline::Dice?) #

Optional. Message is a dice with random value

View source

#document : Tourmaline::Document? #

Optional. Message is a general file, information about the file

View source

#document=(document : Tourmaline::Document?) #

Optional. Message is a general file, information about the file

View source

#game : Tourmaline::Game? #

Optional. Message is a game, information about the game. More about games: https://core.telegram.org/bots/api#games

View source

#game=(game : Tourmaline::Game?) #

Optional. Message is a game, information about the game. More about games: https://core.telegram.org/bots/api#games

View source

#giveaway : Tourmaline::Giveaway? #

Optional. Message is a scheduled giveaway, information about the giveaway

View source

#giveaway=(giveaway : Tourmaline::Giveaway?) #

Optional. Message is a scheduled giveaway, information about the giveaway

View source

#giveaway_winners : Tourmaline::GiveawayWinners? #

Optional. A giveaway with public winners was completed

View source

#giveaway_winners=(giveaway_winners : Tourmaline::GiveawayWinners?) #

Optional. A giveaway with public winners was completed

View source

#has_media_spoiler=(has_media_spoiler : Bool?) #

Optional. True, if the message media is covered by a spoiler animation

View source

#has_media_spoiler? : Bool? #

Optional. True, if the message media is covered by a spoiler animation

View source

#invoice : Tourmaline::Invoice? #

Optional. Message is an invoice for a payment, information about the invoice. More about payments: https://core.telegram.org/bots/api#payments

View source

#invoice=(invoice : Tourmaline::Invoice?) #

Optional. Message is an invoice for a payment, information about the invoice. More about payments: https://core.telegram.org/bots/api#payments

View source

Optional. Options used for link preview generation for the original message, if it is a text message

View source

Optional. Options used for link preview generation for the original message, if it is a text message

View source

#location : Tourmaline::Location? #

Optional. Message is a shared location, information about the location

View source

#location=(location : Tourmaline::Location?) #

Optional. Message is a shared location, information about the location

View source

#message_id : Int32 | Int64 | Nil #

Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.

View source

#message_id=(message_id : Int32 | Int64 | Nil) #

Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.

View source

#origin : Tourmaline::MessageOrigin #

Origin of the message replied to by the given message

View source

#origin=(origin : Tourmaline::MessageOrigin) #

Origin of the message replied to by the given message

View source

#photo : Array(Tourmaline::PhotoSize) #

Optional. Message is a photo, available sizes of the photo

View source

#photo=(photo : Array(Tourmaline::PhotoSize)) #

Optional. Message is a photo, available sizes of the photo

View source

#poll : Tourmaline::Poll? #

Optional. Message is a native poll, information about the poll

View source

#poll=(poll : Tourmaline::Poll?) #

Optional. Message is a native poll, information about the poll

View source

#sticker : Tourmaline::Sticker? #

Optional. Message is a sticker, information about the sticker

View source

#sticker=(sticker : Tourmaline::Sticker?) #

Optional. Message is a sticker, information about the sticker

View source

#story : Tourmaline::Story? #

Optional. Message is a forwarded story

View source

#story=(story : Tourmaline::Story?) #

Optional. Message is a forwarded story

View source

#venue : Tourmaline::Venue? #

Optional. Message is a venue, information about the venue

View source

#venue=(venue : Tourmaline::Venue?) #

Optional. Message is a venue, information about the venue

View source

#video : Tourmaline::Video? #

Optional. Message is a video, information about the video

View source

#video=(video : Tourmaline::Video?) #

Optional. Message is a video, information about the video

View source

#video_note : Tourmaline::VideoNote? #

Optional. Message is a video note, information about the video message

View source

#video_note=(video_note : Tourmaline::VideoNote?) #

Optional. Message is a video note, information about the video message

View source

#voice : Tourmaline::Voice? #

Optional. Message is a voice message, information about the file

View source

#voice=(voice : Tourmaline::Voice?) #

Optional. Message is a voice message, information about the file

View source