Optional
descriptionDescription of the result
Optional
durationDuration of the video in seconds
Optional
heightHeight of the video in pixels
Unique ID of the result
Optional
isIn case media
is a URL, whether that URL is a link
to an embedded video player.
The video itself, or a page containing an embedded video
Can be a URL, a TDLib and Bot API compatible File ID, or a TL object representing either of them.
Optional
messageMessage to send when the result is selected.
By default, is automatically generated, and details about how it is generated can be found in subclasses' description
Optional
thumbVideo thumbnail URL (must be jpeg), only applicable in case media
is a URL.
Must be provided explicitly if this is a video loaded by URL.
Title of the result
Optional
widthWidth of the video in pixels
Inline result containing a video (only MP4)
If
message
is not provided, InputInlineMessageMedia is used with empty caption for non-embed videos, InputInlineMessageText is used with text containing the URL for embed videos.