InputInlineQueryResultVideo¶
Represents a link to a page containing an embedded video player or a video file
InputInlineQueryResultVideo(
id: string,
title: string,
description: string,
thumbnail_url: string,
video_url: string,
mime_type: string,
video_width: int32,
video_height: int32,
video_duration: int32,
reply_markup: ReplyMarkup,
input_message_content: InputMessageContent
) → InputInlineQueryResult
id¶
string
Unique identifier of the query result
title¶
string
Title of the result
description¶
string
A short description of the result, if known
thumbnail_url¶
string
The URL of the video thumbnail (JPEG), if it exists
video_url¶
string
URL of the embedded video player or video file
mime_type¶
string
MIME type of the content of the video URL, only "text/html" or "video/mp4" are currently supported
video_width¶
int32
Width of the video
video_height¶
int32
Height of the video
video_duration¶
int32
Video duration, in seconds
reply_markup¶
The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null
input_message_content¶
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageRichMessage, inputMessageVideo, inputMessageInvoice, inputMessageLiveLocation, inputMessageLocation, inputMessageVenue or inputMessageContact