Skip to content

InlineQueryResultVideo

class Tourmaline::InlineQueryResultVideo
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, video_url, mime_type, thumb_url, title, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, video_width = nil, video_height = nil, video_duration = nil, description = nil, 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)) #

#description : String? #

#description=(description : String?) #

#id : String #

#id=(id : String) #

#input_message_content : InputMessageContent? #

#input_message_content=(input_message_content : InputMessageContent?) #

#mime_type : String #

#mime_type=(mime_type : String) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#reply_markup : InlineKeyboardMarkup? #

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

#thumb_url : String #

#thumb_url=(thumb_url : String) #

#title : String #

#title=(title : String) #

#type : String #

#type=(type : String) #

#video_duration : Int32? #

#video_duration=(video_duration : Int32?) #

#video_height : Int32? #

#video_height=(video_height : Int32?) #

#video_url : String #

#video_url=(video_url : String) #

#video_width : Int32? #

#video_width=(video_width : Int32?) #