1#ifndef TGBOT_INLINEQUERYRESULTVIDEO_H
2#define TGBOT_INLINEQUERYRESULTVIDEO_H
26 static const std::string
TYPE;
28 typedef std::shared_ptr<InlineQueryResultVideo>
Ptr;
This object represents one result of an inline query.
std::string type
Type of the result.
Represents a link to a page containing an embedded video player or a video file. By default,...
static const std::string TYPE
std::shared_ptr< InlineQueryResultVideo > Ptr
std::int32_t videoDuration
Optional. Video duration in seconds.
std::string description
Optional. Short description of the result.
std::int32_t videoHeight
Optional. Video height.
std::string thumbnailUrl
URL of the thumbnail (jpeg only) for the video.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the video. This field is required if InlineQue...
std::string title
Title for the result.
std::string parseMode
Optional. Mode for parsing entities in the video caption. See https://core.telegram....
std::string mimeType
Mime type of the content of video url, “text/html” or “video/mp4”
std::string caption
Optional. Caption of the video to be sent, 0-1024 characters after entities parsing.
std::int32_t videoWidth
Optional. Video width.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string videoUrl
A valid URL for the embedded video player or video file.
std::shared_ptr< InputMessageContent > Ptr