|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents a link to an article or web page. https://core.telegram.org/bots/api#inlinequeryresultarticle. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
| InlineQueryResultArticle () | |
| InlineQueryResultArticle (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 of the result. | |
| Ptr< InputMessageContent > | inputMessageContent {} |
| Content of the message to be sent. | |
| std::string | url |
| Optional. URL of the result. | |
| bool | hideUrl {} |
| Optional. Pass True if you don't want the URL to be shown in the message. | |
| std::string | description |
| Optional. Short description of the result. | |
| std::string | thumbnailUrl |
| Optional. Url of the thumbnail for the result. | |
| std::int32_t | thumbnailWidth {} |
| Optional. Thumbnail width. | |
| std::int32_t | thumbnailHeight {} |
| Optional. Thumbnail height. | |
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 an article or web page. https://core.telegram.org/bots/api#inlinequeryresultarticle.
Definition at line 71 of file InlineQueryResult.hpp.
|
inline |
Definition at line 72 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 75 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 116 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 103 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultArticle::description |
Optional. Short description of the result.
Definition at line 92 of file InlineQueryResult.hpp.
| bool tgbotxx::InlineQueryResultArticle::hideUrl {} |
Optional. Pass True if you don't want the URL to be shown in the message.
Definition at line 89 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultArticle::inputMessageContent {} |
Content of the message to be sent.
Definition at line 83 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultArticle::thumbnailHeight {} |
Optional. Thumbnail height.
Definition at line 101 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultArticle::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 95 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultArticle::thumbnailWidth {} |
Optional. Thumbnail width.
Definition at line 98 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultArticle::title |
Title of the result.
Definition at line 80 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultArticle::url |
Optional. URL of the result.
Definition at line 86 of file InlineQueryResult.hpp.