mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 17:26:58 +01:00
1.6 KiB
1.6 KiB
title | description |
---|---|
inputInlineQueryResultVideo | Represents link to a page containing an embedded video player or a video file |
Constructor: inputInlineQueryResultVideo
Represents link to a page containing an embedded video player or a video file
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier of this result |
title | string | Yes | Title of the result |
description | string | Yes | Short description of the result, if known |
thumb_url | string | Yes | Url of the video thumb (jpeg), if exists |
video_url | string | Yes | Url of the embedded video player or video file |
mime_type | string | Yes | MIME type of the content of video url, only "text/html" or "video/mp4" are allowed now |
video_width | int | Yes | Video width |
video_height | int | Yes | Video height |
video_duration | int | Yes | Video duration in seconds |
reply_markup | ReplyMarkup | Yes | Message reply markup, should be of type replyMarkupInlineKeyboard or null |
input_message_content | InputMessageContent | Yes | Content of the message to be sent, should be of type inputMessageText or inputMessageVideo or InputMessageLocation or InputMessageVenue or InputMessageContact |