class

TelegramBot::InlineQueryResultGif

Inherits JSON::Serializable < TelegramBot::InlineQueryResult < Reference < Object

Constructors

new(id : String, gif_url : String, *, gif_width : Int32 | Nil = nil, gif_height : Int32 | Nil = nil, gif_duration : Int32 | Nil = nil, thumbnail_url : String, thumbnail_mime_type : Nil | String = nil, title : Nil | String = nil, caption : Nil | String = nil, parse_mode : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

caption
Source
caption=(caption : String | Nil)
Source
gif_duration
Source
gif_duration=(gif_duration : Int32 | Nil)
Source
gif_height
Source
gif_height=(gif_height : Int32 | Nil)
Source
gif_url
Source
gif_url=(gif_url : String)
Source
gif_width
Source
gif_width=(gif_width : Int32 | Nil)
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent | Nil)
Source
parse_mode
Source
parse_mode=(parse_mode : String | Nil)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
thumbnail_mime_type
Source
thumbnail_mime_type=(thumbnail_mime_type : String | Nil)
Source
thumbnail_url
Source
thumbnail_url=(thumbnail_url : String)
Source
title
Source
title=(title : String | Nil)
Source
type
Source
type=(type : String)
Source