class

TelegramBot::InlineQueryResultVideo

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

Constructors

new(id : String, video_url : String, mime_type : String, thumbnail_url : String, title : String, *, caption : Nil | String = nil, parse_mode : Nil | String = nil, video_width : Int32 | Nil = nil, video_height : Int32 | Nil = nil, video_duration : Int32 | Nil = nil, description : 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
description
Source
description=(description : String | Nil)
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent | Nil)
Source
mime_type

Mime type of the content of video url, "text/html" or "video/mp4"

Source
mime_type=(mime_type : String)

Mime type of the content of video url, "text/html" or "video/mp4"

Source
parse_mode
Source
parse_mode=(parse_mode : String | Nil)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
thumbnail_url

URL of the thumbnail (jpeg only) for the video

Source
thumbnail_url=(thumbnail_url : String)

URL of the thumbnail (jpeg only) for the video

Source
title
Source
title=(title : String)
Source
type
Source
type=(type : String)
Source
video_duration
Source
video_duration=(video_duration : Int32 | Nil)
Source
video_height
Source
video_height=(video_height : Int32 | Nil)
Source
video_url
Source
video_url=(video_url : String)
Source
video_width
Source
video_width=(video_width : Int32 | Nil)
Source