class
Hamilton::Types::ExternalReplyInfo
- Hamilton::Types::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
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/external_reply_info.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#animation : Hamilton::Types::Animation | Nil
Message is an animation, information about the animation.
-
#animation=(animation : Hamilton::Types::Animation | Nil)
Message is an animation, information about the animation.
-
#audio : Hamilton::Types::Audio | Nil
Message is an audio file, information about the file.
-
#audio=(audio : Hamilton::Types::Audio | Nil)
Message is an audio file, information about the file.
-
#chat : Hamilton::Types::Chat | Nil
Chat the original message belongs to.
-
#chat=(chat : Hamilton::Types::Chat | Nil)
Chat the original message belongs to.
-
#checklist : Hamilton::Types::Checklist | Nil
Message is a checklist.
-
#checklist=(checklist : Hamilton::Types::Checklist | Nil)
Message is a checklist.
-
#contact : Hamilton::Types::Contact | Nil
Message is a shared contact, information about the contact.
-
#contact=(contact : Hamilton::Types::Contact | Nil)
Message is a shared contact, information about the contact.
-
#dice : Hamilton::Types::Dice | Nil
Message is a dice with random value.
-
#dice=(dice : Hamilton::Types::Dice | Nil)
Message is a dice with random value.
-
#document : Hamilton::Types::Document | Nil
Message is a general file, information about the file.
-
#document=(document : Hamilton::Types::Document | Nil)
Message is a general file, information about the file.
-
#game : Hamilton::Types::Game | Nil
Message is a game, information about the game.
-
#game=(game : Hamilton::Types::Game | Nil)
Message is a game, information about the game.
-
#giveaway : Hamilton::Types::Giveaway | Nil
Message is a scheduled giveaway, information about the giveaway.
-
#giveaway=(giveaway : Hamilton::Types::Giveaway | Nil)
Message is a scheduled giveaway, information about the giveaway.
-
#giveaway_winners : Hamilton::Types::GiveawayWinners | Nil
A giveaway with public winners was completed.
-
#giveaway_winners=(giveaway_winners : Hamilton::Types::GiveawayWinners | Nil)
A giveaway with public winners was completed.
-
#has_media_spoiler : Bool | Nil
True, if the message media is covered by a spoiler animation.
-
#has_media_spoiler=(has_media_spoiler : Bool | Nil)
True, if the message media is covered by a spoiler animation.
-
#invoice : Hamilton::Types::Invoice | Nil
Message is an invoice for a payment, information about the invoice.
-
#invoice=(invoice : Hamilton::Types::Invoice | Nil)
Message is an invoice for a payment, information about the invoice.
-
#link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil
Options used for link preview generation for the original message, if it is a text message.
-
#link_preview_options=(link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil)
Options used for link preview generation for the original message, if it is a text message.
-
#location : Hamilton::Types::Location | Nil
Message is a shared location, information about the location.
-
#location=(location : Hamilton::Types::Location | Nil)
Message is a shared location, information about the location.
-
#message_id : Int32 | Nil
Unique message identifier inside the original chat.
-
#message_id=(message_id : Int32 | Nil)
Unique message identifier inside the original chat.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#origin : Hamilton::Types::MessageOrigin
Origin of the message replied to by the given message.
-
#origin=(origin : Hamilton::Types::MessageOrigin)
Origin of the message replied to by the given message.
-
#paid_media : Hamilton::Types::PaidMediaInfo | Nil
Message contains paid media; information about the paid media.
-
#paid_media=(paid_media : Hamilton::Types::PaidMediaInfo | Nil)
Message contains paid media; information about the paid media.
-
#photo : Array(Hamilton::Types::PhotoSize) | Nil
Message is a photo, available sizes of the photo.
-
#photo=(photo : Array(Hamilton::Types::PhotoSize) | Nil)
Message is a photo, available sizes of the photo.
-
#poll : Hamilton::Types::Poll | Nil
Message is a native poll, information about the poll.
-
#poll=(poll : Hamilton::Types::Poll | Nil)
Message is a native poll, information about the poll.
-
#sticker : Hamilton::Types::Sticker | Nil
Message is a sticker, information about the sticker.
-
#sticker=(sticker : Hamilton::Types::Sticker | Nil)
Message is a sticker, information about the sticker.
-
#story : Hamilton::Types::Story | Nil
Message is a forwarded story.
-
#story=(story : Hamilton::Types::Story | Nil)
Message is a forwarded story.
-
#venue : Hamilton::Types::Venue | Nil
Message is a venue, information about the venue.
-
#venue=(venue : Hamilton::Types::Venue | Nil)
Message is a venue, information about the venue.
-
#video : Hamilton::Types::Video | Nil
Message is a video, information about the video.
-
#video=(video : Hamilton::Types::Video | Nil)
Message is a video, information about the video.
-
#video_note : Hamilton::Types::VideoNote | Nil
Message is a video note, information about the video message.
-
#video_note=(video_note : Hamilton::Types::VideoNote | Nil)
Message is a video note, information about the video message.
-
#voice : Hamilton::Types::Voice | Nil
Message is a voice message, information about the file.
-
#voice=(voice : Hamilton::Types::Voice | Nil)
Message is a voice message, information about the file.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Message is an animation, information about the animation.
Message is an animation, information about the animation.
Message is an audio file, information about the file.
Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
Message is a shared contact, information about the contact.
Message is a shared contact, information about the contact.
Message is a general file, information about the file.
Message is a general file, information about the file.
Message is a scheduled giveaway, information about the giveaway.
Message is a scheduled giveaway, information about the giveaway.
A giveaway with public winners was completed.
A giveaway with public winners was completed.
True, if the message media is covered by a spoiler animation.
Message is an invoice for a payment, information about the invoice.
Message is an invoice for a payment, information about the invoice.
Options used for link preview generation for the original message, if it is a text message.
Options used for link preview generation for the original message, if it is a text message.
Message is a shared location, information about the location.
Message is a shared location, information about the location.
Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
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.
Origin of the message replied to by the given message.
Message contains paid media; information about the paid media.
Message contains paid media; information about the paid media.
Message is a photo, available sizes of the photo.
Message is a photo, available sizes of the photo.
Message is a native poll, information about the poll.
Message is a sticker, information about the sticker.
Message is a video note, information about the video message.
Message is a video note, information about the video message.
Message is a voice message, information about the file.