|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
| InlineQueryResultCachedVideo () | |
| InlineQueryResultCachedVideo (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) | |
| virtual | ~InlineQueryResult ()=default |
Public Attributes | |
| std::string | videoFileId |
| A valid file identifier for the video file. | |
| std::string | title |
| Title for the result. | |
| std::string | description |
| Optional. Short description of the result. | |
| std::string | caption |
| Optional. Caption of the video to be sent, 0-1024 characters after entities parsing. | |
| std::string | parseMode |
| Optional. Mode for parsing entities in the document caption. See formatting options for more details. | |
| std::vector< Ptr< MessageEntity > > | captionEntities |
| Optional. List of special entities that appear in the video caption, which can be specified instead of parseMode. | |
| Ptr< InputMessageContent > | inputMessageContent |
| Optional. Content of the message to be sent instead of the video. | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| Ptr< InlineKeyboardMarkup > | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption.
Definition at line 1145 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1146 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1149 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1187 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1175 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVideo::caption |
Optional. Caption of the video to be sent, 0-1024 characters after entities parsing.
Definition at line 1163 of file InlineQueryResult.hpp.
| std::vector<Ptr<MessageEntity> > tgbotxx::InlineQueryResultCachedVideo::captionEntities |
Optional. List of special entities that appear in the video caption, which can be specified instead of parseMode.
Definition at line 1169 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVideo::description |
Optional. Short description of the result.
Definition at line 1160 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultCachedVideo::inputMessageContent |
Optional. Content of the message to be sent instead of the video.
Definition at line 1172 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVideo::parseMode |
Optional. Mode for parsing entities in the document caption. See formatting options for more details.
Definition at line 1166 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVideo::title |
Title for the result.
Definition at line 1157 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVideo::videoFileId |
A valid file identifier for the video file.
Definition at line 1154 of file InlineQueryResult.hpp.