class Hamilton::Types::ExternalReplyInfo

Overview

This object contains information about a message that is being replied to, which may come from another chat or forum topic.

Included Modules

Defined in:

types/external_reply_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def animation : Hamilton::Types::Animation | Nil #

Message is an animation, information about the animation.


def animation=(animation : Hamilton::Types::Animation | Nil) #

Message is an animation, information about the animation.


def audio : Hamilton::Types::Audio | Nil #

Message is an audio file, information about the file.


def audio=(audio : Hamilton::Types::Audio | Nil) #

Message is an audio file, information about the file.


def chat : Hamilton::Types::Chat | Nil #

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


def chat=(chat : Hamilton::Types::Chat | Nil) #

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


def checklist : Hamilton::Types::Checklist | Nil #

Message is a checklist.


def checklist=(checklist : Hamilton::Types::Checklist | Nil) #

Message is a checklist.


def contact : Hamilton::Types::Contact | Nil #

Message is a shared contact, information about the contact.


def contact=(contact : Hamilton::Types::Contact | Nil) #

Message is a shared contact, information about the contact.


def dice : Hamilton::Types::Dice | Nil #

Message is a dice with random value.


def dice=(dice : Hamilton::Types::Dice | Nil) #

Message is a dice with random value.


def document : Hamilton::Types::Document | Nil #

Message is a general file, information about the file.


def document=(document : Hamilton::Types::Document | Nil) #

Message is a general file, information about the file.


def game : Hamilton::Types::Game | Nil #

Message is a game, information about the game.


def game=(game : Hamilton::Types::Game | Nil) #

Message is a game, information about the game.


def giveaway : Hamilton::Types::Giveaway | Nil #

Message is a scheduled giveaway, information about the giveaway.


def giveaway=(giveaway : Hamilton::Types::Giveaway | Nil) #

Message is a scheduled giveaway, information about the giveaway.


def giveaway_winners : Hamilton::Types::GiveawayWinners | Nil #

A giveaway with public winners was completed.


def giveaway_winners=(giveaway_winners : Hamilton::Types::GiveawayWinners | Nil) #

A giveaway with public winners was completed.


def has_media_spoiler : Bool | Nil #

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


def has_media_spoiler=(has_media_spoiler : Bool | Nil) #

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


def invoice : Hamilton::Types::Invoice | Nil #

Message is an invoice for a payment, information about the invoice.


def invoice=(invoice : Hamilton::Types::Invoice | Nil) #

Message is an invoice for a payment, information about the invoice.


def link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil #

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


def 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.


def location : Hamilton::Types::Location | Nil #

Message is a shared location, information about the location.


def location=(location : Hamilton::Types::Location | Nil) #

Message is a shared location, information about the location.


def message_id : Int32 | Nil #

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


def message_id=(message_id : Int32 | Nil) #

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


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


Origin of the message replied to by the given message.


def origin=(origin : Hamilton::Types::MessageOrigin) #

Origin of the message replied to by the given message.


def photo : Array(Hamilton::Types::PhotoSize) | Nil #

Message is a photo, available sizes of the photo.


def photo=(photo : Array(Hamilton::Types::PhotoSize) | Nil) #

Message is a photo, available sizes of the photo.


def poll : Hamilton::Types::Poll | Nil #

Message is a native poll, information about the poll.


def poll=(poll : Hamilton::Types::Poll | Nil) #

Message is a native poll, information about the poll.


def sticker : Hamilton::Types::Sticker | Nil #

Message is a sticker, information about the sticker.


def sticker=(sticker : Hamilton::Types::Sticker | Nil) #

Message is a sticker, information about the sticker.


def story : Hamilton::Types::Story | Nil #

Message is a forwarded story.


def story=(story : Hamilton::Types::Story | Nil) #

Message is a forwarded story.


def venue : Hamilton::Types::Venue | Nil #

Message is a venue, information about the venue.


def venue=(venue : Hamilton::Types::Venue | Nil) #

Message is a venue, information about the venue.


def video : Hamilton::Types::Video | Nil #

Message is a video, information about the video.


def video=(video : Hamilton::Types::Video | Nil) #

Message is a video, information about the video.


def video_note : Hamilton::Types::VideoNote | Nil #

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


def video_note=(video_note : Hamilton::Types::VideoNote | Nil) #

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


def voice : Hamilton::Types::Voice | Nil #

Message is a voice message, information about the file.


def voice=(voice : Hamilton::Types::Voice | Nil) #

Message is a voice message, information about the file.