tgbotxx
1.1.6.9
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) | |
Public Attributes | |
std::string | title |
Title of the result. More... | |
Ptr< InputMessageContent > | inputMessageContent {} |
Content of the message to be sent. More... | |
std::string | url |
Optional. URL of the result. More... | |
bool | hideUrl {} |
Optional. Pass True if you don't want the URL to be shown in the message. More... | |
std::string | description |
Optional. Short description of the result. More... | |
std::string | thumbnailUrl |
Optional. Url of the thumbnail for the result. More... | |
std::int32_t | thumbnailWidth {} |
Optional. Thumbnail width. More... | |
std::int32_t | thumbnailHeight {} |
Optional. Thumbnail height. 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 an article or web page. https://core.telegram.org/bots/api#inlinequeryresultarticle.
Definition at line 70 of file InlineQueryResult.hpp.
|
inline |
Definition at line 71 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 74 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 115 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 102 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultArticle::description |
Optional. Short description of the result.
Definition at line 91 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 88 of file InlineQueryResult.hpp.
Ptr<InputMessageContent> tgbotxx::InlineQueryResultArticle::inputMessageContent {} |
Content of the message to be sent.
Definition at line 82 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultArticle::thumbnailHeight {} |
Optional. Thumbnail height.
Definition at line 100 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultArticle::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 94 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultArticle::thumbnailWidth {} |
Optional. Thumbnail width.
Definition at line 97 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultArticle::title |
Title of the result.
Definition at line 79 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultArticle::url |
Optional. URL of the result.
Definition at line 85 of file InlineQueryResult.hpp.