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

This abstract class is base of all inline query results. 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

This abstract class is base of all inline query results.

This object represents one result of an inline query.

Definition at line 18 of file InlineQueryResult.h.

Member Typedef Documentation

◆ Ptr

Definition at line 20 of file InlineQueryResult.h.

Constructor & Destructor Documentation

◆ InlineQueryResult()

TgBot::InlineQueryResult::InlineQueryResult ( )
inline

Definition at line 22 of file InlineQueryResult.h.

◆ ~InlineQueryResult()

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

Definition at line 24 of file InlineQueryResult.h.

Member Data Documentation

◆ id

std::string TgBot::InlineQueryResult::id

Unique identifier for this result, 1-64 bytes.

Definition at line 34 of file InlineQueryResult.h.

◆ replyMarkup

InlineKeyboardMarkup::Ptr TgBot::InlineQueryResult::replyMarkup

Optional. Inline keyboard attached to the message.

Definition at line 39 of file InlineQueryResult.h.

◆ type

std::string TgBot::InlineQueryResult::type

Type of the result.

Definition at line 29 of file InlineQueryResult.h.


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