1#ifndef TGBOT_INLINEQUERYRESULTGIF_H
2#define TGBOT_INLINEQUERYRESULTGIF_H
24 static const std::string
TYPE;
26 typedef std::shared_ptr<InlineQueryResultGif>
Ptr;
Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the use...
static const std::string TYPE
std::string parseMode
Optional. Mode for parsing entities in the caption. See https://core.telegram.org/bots/api#formatting...
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string title
Optional. Title for the result.
std::shared_ptr< InlineQueryResultGif > Ptr
std::string gifUrl
A valid URL for the GIF file. File size must not exceed 1MB.
std::int32_t gifHeight
Optional. Height of the GIF.
std::int32_t gifDuration
Optional. Duration of the GIF.
std::string thumbnailUrl
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result.
std::int32_t gifWidth
Optional. Width of the GIF.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the GIF animation.
std::string caption
Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing.
std::string thumbnailMimeType
Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”....
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr