Telegram::InlineQueryResultVideo
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: InlineQueryResultVideo Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
Constructors
new(type : String, id : String, video_url : String, mime_type : String, thumbnail_url : String, title : String, caption : String | Nil = nil, parse_mode : String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil, show_caption_above_media : Bool | Nil = nil, video_width : Int64 | Nil = nil, video_height : Int64 | Nil = nil, video_duration : Int64 | Nil = nil, description : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
caption
caption_entities
clone
Sourcecopy_with(type _type = @type, id _id = @id, video_url _video_url = @video_url, mime_type _mime_type = @mime_type, thumbnail_url _thumbnail_url = @thumbnail_url, title _title = @title, caption _caption = @caption, parse_mode _parse_mode = @parse_mode, caption_entities _caption_entities = @caption_entities, show_caption_above_media _show_caption_above_media = @show_caption_above_media, video_width _video_width = @video_width, video_height _video_height = @video_height, video_duration _video_duration = @video_duration, description _description = @description, reply_markup _reply_markup = @reply_markup, input_message_content _input_message_content = @input_message_content)
Sourcedescription
id
input_message_content
mime_type
parse_mode
reply_markup
show_caption_above_media
thumbnail_url
title
type
video_duration
video_height
video_url
video_width