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

This object represents one result of an inline query. More...

#include <InlineQueryResult.h>

Inheritance diagram for TgBot::InlineQueryResult:
TgBot::InlineQueryResultArticle TgBot::InlineQueryResultAudio TgBot::InlineQueryResultCachedAudio TgBot::InlineQueryResultCachedDocument TgBot::InlineQueryResultCachedGif TgBot::InlineQueryResultCachedMpeg4Gif TgBot::InlineQueryResultCachedPhoto TgBot::InlineQueryResultCachedSticker TgBot::InlineQueryResultCachedVideo TgBot::InlineQueryResultCachedVoice TgBot::InlineQueryResultContact TgBot::InlineQueryResultDocument TgBot::InlineQueryResultGame TgBot::InlineQueryResultGif TgBot::InlineQueryResultLocation TgBot::InlineQueryResultMpeg4Gif TgBot::InlineQueryResultPhoto TgBot::InlineQueryResultVenue TgBot::InlineQueryResultVideo TgBot::InlineQueryResultVoice

Public Types

typedef std::shared_ptr< InlineQueryResultPtr
 

Public Member Functions

 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 

Public Attributes

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.
 

Detailed Description

Member Typedef Documentation

◆ Ptr

Definition at line 43 of file InlineQueryResult.h.

Constructor & Destructor Documentation

◆ InlineQueryResult()

TgBot::InlineQueryResult::InlineQueryResult ( )
inline

Definition at line 45 of file InlineQueryResult.h.

◆ ~InlineQueryResult()

virtual TgBot::InlineQueryResult::~InlineQueryResult ( )
inlinevirtual

Definition at line 47 of file InlineQueryResult.h.

Member Data Documentation

◆ id

std::string TgBot::InlineQueryResult::id

Unique identifier for this result, 1-64 bytes.

Definition at line 57 of file InlineQueryResult.h.

◆ replyMarkup

InlineKeyboardMarkup::Ptr TgBot::InlineQueryResult::replyMarkup

Optional. Inline keyboard attached to the message.

Definition at line 62 of file InlineQueryResult.h.

◆ type

std::string TgBot::InlineQueryResult::type

Type of the result.

Definition at line 52 of file InlineQueryResult.h.


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