Telegram::InlineQueryResultCachedGif
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: InlineQueryResultCachedGif Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
Constructors
new(type : String, id : String, gif_file_id : String, title : String | Nil = nil, caption : String | Nil = nil, parse_mode : String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil, show_caption_above_media : Bool | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
caption
caption_entities
clone
Sourcecopy_with(type _type = @type, id _id = @id, gif_file_id _gif_file_id = @gif_file_id, title _title = @title, caption _caption = @caption, parse_mode _parse_mode = @parse_mode, caption_entities _caption_entities = @caption_entities, show_caption_above_media _show_caption_above_media = @show_caption_above_media, reply_markup _reply_markup = @reply_markup, input_message_content _input_message_content = @input_message_content)
Sourcegif_file_id
id
input_message_content
parse_mode
reply_markup
show_caption_above_media
title
type