Skip to content

InlineQueryResultGif

class Tourmaline::InlineQueryResultGif
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, gif_url, gif_width = nil, gif_height = nil, gif_duration = nil, thumb_url = nil, title = nil, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, reply_markup = nil, input_message_content = nil) #

.new(pull : JSON::PullParser) #

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

#caption_entities=(caption_entities : Array(MessageEntity)) #

#gif_duration : Int32? #

#gif_duration=(gif_duration : Int32?) #

#gif_height : Int32? #

#gif_height=(gif_height : Int32?) #

#gif_url : String #

#gif_url=(gif_url : String) #

#gif_width : Int32? #

#gif_width=(gif_width : Int32?) #

#id : String #

#id=(id : String) #

#input_message_content : InputMessageContent? #

#input_message_content=(input_message_content : InputMessageContent?) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#reply_markup : InlineKeyboardMarkup? #

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

#thumb_mime_type : String? #

#thumb_mime_type=(thumb_mime_type : String?) #

#thumb_url : String #

#thumb_url=(thumb_url : String) #

#title : String? #

#title=(title : String?) #

#type : String #

#type=(type : String) #