TDLib v0.0.2 TDLib.Object.InputInlineQueryResultVideo View Source

Represents a link to a page containing an embedded video player or a video file.

NameTypeDescription
idstringUnique identifier of the query result.
titlestringTitle of the result.
descriptionstringA short description of the result, if known.
thumbnail_urlstringThe URL of the video thumbnail (JPEG), if it exists.
video_urlstringURL of the embedded video player or video file.
mime_typestringMIME type of the content of the video URL, only “text/html” or “video/mp4” are currently supported.
video_widthnumberWidth of the video.
video_heightnumberHeight of the video.
video_durationnumberVideo duration, in seconds.
reply_markupReplyMarkupThe message reply markup. Must be of type replyMarkupInlineKeyboard or null.
input_message_contentInputMessageContentThe content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageVideo, InputMessageLocation, InputMessageVenue or InputMessageContact.

More details on telegram’s documentation.