5 #ifndef TGBOT_INLINEQUERYRESULTVIDEO_H 6 #define TGBOT_INLINEQUERYRESULTVIDEO_H 17 static const std::string
TYPE;
19 typedef std::shared_ptr<InlineQueryResultVideo>
Ptr;
66 #endif //TGBOT_INLINEQUERYRESULTVIDEO_H Represents link to a page containing an embedded video player or a video file.
static const std::string TYPE
std::string type
Type of the result.
int32_t videoHeight
Optional. Video height.
std::shared_ptr< InlineQueryResultVideo > Ptr
int32_t videoDuration
Optional. Video duration.
std::string description
Optional. Short description of the result.
This abstract class is base of all inline query results.
std::string videoUrl
A valid URL for the embedded video player or video file.
std::string thumbUrl
URL of the thumbnail (jpeg only) for the video.
std::string mimeType
Mime type of the content of video url, "text/html" or "video/mp4".
int32_t videoWidth
Optional. Video width.