class TelegramBot::InlineQueryResultGif

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_gif.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, gif_url : String, *, gif_width : Int32 | Nil = nil, gif_height : Int32 | Nil = nil, gif_duration : Int32 | Nil = nil, thumb_url : String, thumb_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) #

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

Instance Method Detail

def caption : String | Nil #

def caption=(caption : String | Nil) #

def gif_duration : Int32 | Nil #

def gif_duration=(gif_duration : Int32 | Nil) #

def gif_height : Int32 | Nil #

def gif_height=(gif_height : Int32 | Nil) #

def gif_url : String #

def gif_url=(gif_url : String) #

def gif_width : Int32 | Nil #

def gif_width=(gif_width : Int32 | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def parse_mode : String | Nil #

def parse_mode=(parse_mode : String | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumb_mime_type : String | Nil #

def thumb_mime_type=(thumb_mime_type : String | Nil) #

def thumb_url : String #

def thumb_url=(thumb_url : String) #

def title : String | Nil #

def title=(title : String | Nil) #

def type : String #

def type=(type : String) #