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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
caption
Sourcedescription
Sourceid
Sourceinput_message_content
Sourceinput_message_content=(input_message_content : InputMessageContent | Nil)
Sourcemime_type=(mime_type : String)
Mime type of the content of video url, "text/html" or "video/mp4"
parse_mode
Sourcereply_markup
Sourcereply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Sourcetitle
Sourcetype
Sourcevideo_duration
Sourcevideo_height
Sourcevideo_url
Sourcevideo_width
Source