|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents a link to a file stored on the Telegram servers. By default, this 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 | |
| InlineQueryResultCachedDocument () | |
| InlineQueryResultCachedDocument (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 | title |
| Title for the result. | |
| std::string | documentFileId |
| A valid file identifier for the file. | |
| std::string | description |
| Optional. Short description of the result. | |
| std::string | caption |
| Optional. Caption of the document 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 caption, which can be specified instead of parseMode. | |
| Ptr< InputMessageContent > | inputMessageContent |
| Optional. Content of the message to be sent instead of the document. | |
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 file stored on the Telegram servers. By default, this 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 1088 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1089 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1092 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1130 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1118 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedDocument::caption |
Optional. Caption of the document to be sent, 0-1024 characters after entities parsing.
Definition at line 1106 of file InlineQueryResult.hpp.
| std::vector<Ptr<MessageEntity> > tgbotxx::InlineQueryResultCachedDocument::captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
Definition at line 1112 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedDocument::description |
Optional. Short description of the result.
Definition at line 1103 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedDocument::documentFileId |
A valid file identifier for the file.
Definition at line 1100 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultCachedDocument::inputMessageContent |
Optional. Content of the message to be sent instead of the document.
Definition at line 1115 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedDocument::parseMode |
Optional. Mode for parsing entities in the document caption. See formatting options for more details.
Definition at line 1109 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedDocument::title |
Title for the result.
Definition at line 1097 of file InlineQueryResult.hpp.