1#ifndef TGBOT_INLINEQUERYRESULTMPEG4GIF_H
2#define TGBOT_INLINEQUERYRESULTMPEG4GIF_H
24 static const std::string
TYPE;
26 typedef std::shared_ptr<InlineQueryResultMpeg4Gif>
Ptr;
This object represents one result of an inline query.
std::string type
Type of the result.
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default,...
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the video animation.
std::string title
Optional. Title for the result.
std::string mpeg4Url
A valid URL for the MP4 file. File size must not exceed 1MB.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string parseMode
Optional. Mode for parsing entities in the caption. See https://core.telegram.org/bots/api#formatting...
std::string caption
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing.
std::int32_t mpeg4Duration
Optional. Video duration.
std::shared_ptr< InlineQueryResultMpeg4Gif > Ptr
static const std::string TYPE
std::string thumbnailUrl
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result.
InlineQueryResultMpeg4Gif()
std::int32_t mpeg4Height
Optional. Video height.
std::int32_t mpeg4Width
Optional. Video width.
std::string thumbnailMimeType
Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”....
std::shared_ptr< InputMessageContent > Ptr