tgbot-cpp
|
Represents a link to an article of web page. More...
#include <InlineQueryResultArticle.h>
Public Types | |
typedef std::shared_ptr< InlineQueryResultArticle > | Ptr |
Public Types inherited from TgBot::InlineQueryResult | |
typedef std::shared_ptr< InlineQueryResult > | Ptr |
Public Member Functions | |
InlineQueryResultArticle () | |
Public Member Functions inherited from TgBot::InlineQueryResult | |
InlineQueryResult () | |
virtual | ~InlineQueryResult () |
Public Attributes | |
std::string | title |
Title of the result. | |
InputMessageContent::Ptr | 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 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 an article of web page.
Definition at line 18 of file InlineQueryResultArticle.h.
typedef std::shared_ptr<InlineQueryResultArticle> TgBot::InlineQueryResultArticle::Ptr |
Definition at line 22 of file InlineQueryResultArticle.h.
|
inline |
Definition at line 24 of file InlineQueryResultArticle.h.
std::string TgBot::InlineQueryResultArticle::description |
Optional. Short description of the result.
Definition at line 51 of file InlineQueryResultArticle.h.
bool TgBot::InlineQueryResultArticle::hideUrl |
Optional. Pass True if you don't want the URL to be shown in the message.
Definition at line 46 of file InlineQueryResultArticle.h.
InputMessageContent::Ptr TgBot::InlineQueryResultArticle::inputMessageContent |
Content of the message to be sent.
Definition at line 36 of file InlineQueryResultArticle.h.
std::int32_t TgBot::InlineQueryResultArticle::thumbnailHeight |
Optional. Thumbnail height.
Definition at line 66 of file InlineQueryResultArticle.h.
std::string TgBot::InlineQueryResultArticle::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 56 of file InlineQueryResultArticle.h.
std::int32_t TgBot::InlineQueryResultArticle::thumbnailWidth |
Optional. Thumbnail width.
Definition at line 61 of file InlineQueryResultArticle.h.
std::string TgBot::InlineQueryResultArticle::title |
Title of the result.
Definition at line 31 of file InlineQueryResultArticle.h.
|
static |
Definition at line 20 of file InlineQueryResultArticle.h.
std::string TgBot::InlineQueryResultArticle::url |
Optional. URL of the result.
Definition at line 41 of file InlineQueryResultArticle.h.