tgbot-cpp
|
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. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the video. More...
#include <InlineQueryResultCachedVideo.h>
Public Types | |
typedef std::shared_ptr< InlineQueryResultCachedVideo > | Ptr |
Public Types inherited from TgBot::InlineQueryResult | |
typedef std::shared_ptr< InlineQueryResult > | Ptr |
Public Member Functions | |
InlineQueryResultCachedVideo () | |
Public Member Functions inherited from TgBot::InlineQueryResult | |
InlineQueryResult () | |
virtual | ~InlineQueryResult () |
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 video caption. See https://core.telegram.org/bots/api#formatting-options for more details. | |
std::vector< MessageEntity::Ptr > | captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode. | |
InputMessageContent::Ptr | inputMessageContent |
Optional. Content of the message to be sent instead of the video. | |
Public Attributes inherited from TgBot::InlineQueryResult | |
std::string | type |
Type of the result. | |
std::string | id |
Unique identifier for this result, 1-64 bytes. | |
InlineKeyboardMarkup::Ptr | replyMarkup |
Optional. Inline keyboard attached to the message. | |
Static Public Attributes | |
static const std::string | TYPE |
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. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the video.
Definition at line 21 of file InlineQueryResultCachedVideo.h.
typedef std::shared_ptr<InlineQueryResultCachedVideo> TgBot::InlineQueryResultCachedVideo::Ptr |
Definition at line 25 of file InlineQueryResultCachedVideo.h.
|
inline |
Definition at line 27 of file InlineQueryResultCachedVideo.h.
std::string TgBot::InlineQueryResultCachedVideo::caption |
Optional. Caption of the video to be sent, 0-1024 characters after entities parsing.
Definition at line 49 of file InlineQueryResultCachedVideo.h.
std::vector<MessageEntity::Ptr> TgBot::InlineQueryResultCachedVideo::captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
Definition at line 60 of file InlineQueryResultCachedVideo.h.
std::string TgBot::InlineQueryResultCachedVideo::description |
Optional. Short description of the result.
Definition at line 44 of file InlineQueryResultCachedVideo.h.
InputMessageContent::Ptr TgBot::InlineQueryResultCachedVideo::inputMessageContent |
Optional. Content of the message to be sent instead of the video.
Definition at line 65 of file InlineQueryResultCachedVideo.h.
std::string TgBot::InlineQueryResultCachedVideo::parseMode |
Optional. Mode for parsing entities in the video caption. See https://core.telegram.org/bots/api#formatting-options for more details.
Definition at line 55 of file InlineQueryResultCachedVideo.h.
std::string TgBot::InlineQueryResultCachedVideo::title |
Title for the result.
Definition at line 39 of file InlineQueryResultCachedVideo.h.
|
static |
Definition at line 23 of file InlineQueryResultCachedVideo.h.
std::string TgBot::InlineQueryResultCachedVideo::videoFileId |
A valid file identifier for the video file.
Definition at line 34 of file InlineQueryResultCachedVideo.h.