tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Base class of all inline query results This object represents one result of an inline query. Telegram clients currently support results of the following 20 types: More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
InlineQueryResult ()=default | |
InlineQueryResult (const nl::json &json) | |
virtual nl::json | toJson () const |
virtual void | fromJson (const nl::json &json) |
Public Attributes | |
std::string | type |
Type of the result. More... | |
std::string | id |
Unique identifier for this result, 1-64 bytes. More... | |
Ptr< InlineKeyboardMarkup > | replyMarkup |
Optional. Inline keyboard attached to the message. More... | |
Base class of all inline query results This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:
Definition at line 32 of file InlineQueryResult.hpp.
|
default |
|
inlineexplicit |
Definition at line 34 of file InlineQueryResult.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::InlineQueryResultCachedAudio, tgbotxx::InlineQueryResultCachedVoice, tgbotxx::InlineQueryResultCachedVideo, tgbotxx::InlineQueryResultCachedDocument, tgbotxx::InlineQueryResultCachedSticker, tgbotxx::InlineQueryResultCachedMpeg4Gif, tgbotxx::InlineQueryResultCachedGif, tgbotxx::InlineQueryResultCachedPhoto, tgbotxx::InlineQueryResultGame, tgbotxx::InlineQueryResultContact, tgbotxx::InlineQueryResultVenue, tgbotxx::InlineQueryResultLocation, tgbotxx::InlineQueryResultDocument, tgbotxx::InlineQueryResultVoice, tgbotxx::InlineQueryResultAudio, tgbotxx::InlineQueryResultVideo, tgbotxx::InlineQueryResultMpeg4Gif, tgbotxx::InlineQueryResultGif, tgbotxx::InlineQueryResultPhoto, and tgbotxx::InlineQueryResultArticle.
Definition at line 55 of file InlineQueryResult.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::InlineQueryResultCachedAudio, tgbotxx::InlineQueryResultCachedVoice, tgbotxx::InlineQueryResultCachedVideo, tgbotxx::InlineQueryResultCachedDocument, tgbotxx::InlineQueryResultCachedSticker, tgbotxx::InlineQueryResultCachedMpeg4Gif, tgbotxx::InlineQueryResultCachedGif, tgbotxx::InlineQueryResultCachedPhoto, tgbotxx::InlineQueryResultGame, tgbotxx::InlineQueryResultContact, tgbotxx::InlineQueryResultVenue, tgbotxx::InlineQueryResultLocation, tgbotxx::InlineQueryResultDocument, tgbotxx::InlineQueryResultVoice, tgbotxx::InlineQueryResultAudio, tgbotxx::InlineQueryResultVideo, tgbotxx::InlineQueryResultMpeg4Gif, tgbotxx::InlineQueryResultGif, tgbotxx::InlineQueryResultPhoto, and tgbotxx::InlineQueryResultArticle.
Definition at line 47 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResult::id |
Unique identifier for this result, 1-64 bytes.
Definition at line 42 of file InlineQueryResult.hpp.
Ptr<InlineKeyboardMarkup> tgbotxx::InlineQueryResult::replyMarkup |
Optional. Inline keyboard attached to the message.
Definition at line 45 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResult::type |
Type of the result.
Definition at line 39 of file InlineQueryResult.hpp.