TDLib v0.0.2 TDLib.Object.InputInlineQueryResultVideo View Source
Represents a link to a page containing an embedded video player or a video file.
Name | Type | Description |
---|---|---|
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 | number | Width of the video. |
video_height | number | Height of the video. |
video_duration | number | Video duration, in seconds. |
reply_markup | ReplyMarkup | The message reply markup. Must be of type replyMarkupInlineKeyboard or null. |
input_message_content | InputMessageContent | The 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.