Telegram::ExternalReplyInfo
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: ExternalReplyInfo This object contains information about a message that is being replied to, which may come from another chat or forum topic.
Constructors
new(pull : JSON::PullParser)
Sourcenew(origin : MessageOrigin, chat : Chat | Nil = nil, message_id : Int32 | Int64 | Nil = nil, link_preview_options : LinkPreviewOptions | Nil = nil, animation : Animation | Nil = nil, audio : Audio | Nil = nil, document : Document | Nil = nil, paid_media : PaidMediaInfo | Nil = nil, photo : Array(PhotoSize) | Nil = nil, sticker : Sticker | Nil = nil, story : Story | Nil = nil, video : Video | Nil = nil, video_note : VideoNote | Nil = nil, voice : Voice | Nil = nil, has_media_spoiler : Bool | Nil = nil, checklist : Checklist | Nil = nil, contact : Contact | Nil = nil, dice : Dice | Nil = nil, game : Game | Nil = nil, giveaway : Giveaway | Nil = nil, giveaway_winners : GiveawayWinners | Nil = nil, invoice : Invoice | Nil = nil, location : Location | Nil = nil, poll : Poll | Nil = nil, venue : Venue | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
animation
audio
chat
checklist
clone
Sourcecontact
copy_with(origin _origin = @origin, chat _chat = @chat, message_id _message_id = @message_id, link_preview_options _link_preview_options = @link_preview_options, animation _animation = @animation, audio _audio = @audio, document _document = @document, paid_media _paid_media = @paid_media, photo _photo = @photo, sticker _sticker = @sticker, story _story = @story, video _video = @video, video_note _video_note = @video_note, voice _voice = @voice, has_media_spoiler _has_media_spoiler = @has_media_spoiler, checklist _checklist = @checklist, contact _contact = @contact, dice _dice = @dice, game _game = @game, giveaway _giveaway = @giveaway, giveaway_winners _giveaway_winners = @giveaway_winners, invoice _invoice = @invoice, location _location = @location, poll _poll = @poll, venue _venue = @venue)
Sourcedice
document
game
giveaway
giveaway_winners
has_media_spoiler
invoice
link_preview_options
location
message_id
origin
paid_media
photo
poll
sticker
story
venue
video
video_note
voice