tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultCachedMpeg4Gif.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
2#define TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
3
7
8#include <string>
9#include <memory>
10#include <vector>
11
12namespace TgBot {
13
22public:
23 static const std::string TYPE;
24
25 typedef std::shared_ptr<InlineQueryResultCachedMpeg4Gif> Ptr;
26
30
34 std::string mpeg4FileId;
35
39 std::string title;
40
44 std::string caption;
45
50 std::string parseMode;
51
55 std::vector<MessageEntity::Ptr> captionEntities;
56
61};
62}
63
64#endif //TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram ...
std::string mpeg4FileId
A valid file identifier for the MP4 file.
std::string caption
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing.
std::string title
Optional. Title for the result.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the video animation.
std::string parseMode
Optional. Mode for parsing entities in the caption. See https://core.telegram.org/bots/api#formatting...
std::shared_ptr< InlineQueryResultCachedMpeg4Gif > Ptr
This abstract class is base of all inline query results.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr
Definition Api.h:39