tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the photo. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
InlineQueryResultCachedMpeg4Gif () | |
InlineQueryResultCachedMpeg4Gif (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::InlineQueryResult | |
InlineQueryResult ()=default | |
InlineQueryResult (const nl::json &json) | |
Public Attributes | |
std::string | mpeg4FileId |
A valid file identifier for the MPEG4 file. More... | |
std::string | title |
Optional. Title for the result. More... | |
std::string | caption |
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing. More... | |
std::string | parseMode |
Optional. Mode for parsing entities in the MPEG-4 caption. See formatting options for more details. More... | |
std::vector< Ptr< MessageEntity > > | captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode. More... | |
Ptr< InputMessageContent > | inputMessageContent |
Optional. Optional. Content of the message to be sent instead of the video animation. More... | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
std::string | type |
Type of the result. More... | |
std::string | id |
Unique identifier for this result, 1-64 bytes. More... | |
Ptr< InlineKeyboardMarkup > | replyMarkup |
Optional. Inline keyboard attached to the message. More... | |
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the photo.
Definition at line 1000 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1001 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1004 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1038 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1027 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultCachedMpeg4Gif::caption |
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing.
Definition at line 1015 of file InlineQueryResult.hpp.
std::vector<Ptr<MessageEntity> > tgbotxx::InlineQueryResultCachedMpeg4Gif::captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
Definition at line 1021 of file InlineQueryResult.hpp.
Ptr<InputMessageContent> tgbotxx::InlineQueryResultCachedMpeg4Gif::inputMessageContent |
Optional. Optional. Content of the message to be sent instead of the video animation.
Definition at line 1024 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultCachedMpeg4Gif::mpeg4FileId |
A valid file identifier for the MPEG4 file.
Definition at line 1009 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultCachedMpeg4Gif::parseMode |
Optional. Mode for parsing entities in the MPEG-4 caption. See formatting options for more details.
Definition at line 1018 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultCachedMpeg4Gif::title |
Optional. Title for the result.
Definition at line 1012 of file InlineQueryResult.hpp.