tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InlineQueryResultArticle Class Reference

Represents a link to an article of web page. More...

#include <InlineQueryResultArticle.h>

Inheritance diagram for TgBot::InlineQueryResultArticle:
TgBot::InlineQueryResult

Public Types

typedef std::shared_ptr< InlineQueryResultArticlePtr
 
- Public Types inherited from TgBot::InlineQueryResult
typedef std::shared_ptr< InlineQueryResultPtr
 

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 thumbUrl
 Optional. Url of the thumbnail for the result.
 
std::int32_t thumbWidth
 Optional. Thumbnail width.
 
std::int32_t thumbHeight
 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
 

Detailed Description

Represents a link to an article of web page.

Definition at line 18 of file InlineQueryResultArticle.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ InlineQueryResultArticle()

TgBot::InlineQueryResultArticle::InlineQueryResultArticle ( )
inline

Definition at line 24 of file InlineQueryResultArticle.h.

Member Data Documentation

◆ description

std::string TgBot::InlineQueryResultArticle::description

Optional. Short description of the result.

Definition at line 51 of file InlineQueryResultArticle.h.

◆ hideUrl

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

InputMessageContent::Ptr TgBot::InlineQueryResultArticle::inputMessageContent

Content of the message to be sent.

Definition at line 36 of file InlineQueryResultArticle.h.

◆ thumbHeight

std::int32_t TgBot::InlineQueryResultArticle::thumbHeight

Optional. Thumbnail height.

Definition at line 66 of file InlineQueryResultArticle.h.

◆ thumbUrl

std::string TgBot::InlineQueryResultArticle::thumbUrl

Optional. Url of the thumbnail for the result.

Definition at line 56 of file InlineQueryResultArticle.h.

◆ thumbWidth

std::int32_t TgBot::InlineQueryResultArticle::thumbWidth

Optional. Thumbnail width.

Definition at line 61 of file InlineQueryResultArticle.h.

◆ title

std::string TgBot::InlineQueryResultArticle::title

Title of the result.

Definition at line 31 of file InlineQueryResultArticle.h.

◆ TYPE

const std::string TgBot::InlineQueryResultArticle::TYPE
static

Definition at line 20 of file InlineQueryResultArticle.h.

◆ url

std::string TgBot::InlineQueryResultArticle::url

Optional. URL of the result.

Definition at line 41 of file InlineQueryResultArticle.h.


The documentation for this class was generated from the following file: