tgbot-cpp
|
This object represents one result of an inline query. More...
#include <InlineQueryResult.h>
Public Types | |
typedef std::shared_ptr< InlineQueryResult > | Ptr |
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. | |
This object represents one result of an inline query.
Telegram clients currently support results of the following 20 types:
Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.
Definition at line 40 of file InlineQueryResult.h.
typedef std::shared_ptr<InlineQueryResult> TgBot::InlineQueryResult::Ptr |
Definition at line 43 of file InlineQueryResult.h.
|
inline |
Definition at line 45 of file InlineQueryResult.h.
|
inlinevirtual |
Definition at line 47 of file InlineQueryResult.h.
std::string TgBot::InlineQueryResult::id |
Unique identifier for this result, 1-64 bytes.
Definition at line 57 of file InlineQueryResult.h.
InlineKeyboardMarkup::Ptr TgBot::InlineQueryResult::replyMarkup |
Optional. Inline keyboard attached to the message.
Definition at line 62 of file InlineQueryResult.h.
std::string TgBot::InlineQueryResult::type |
Type of the result.
Definition at line 52 of file InlineQueryResult.h.