|
tgbotxx 1.1.9.2
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 | ~InlineQueryResult ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| Ptr< InlineKeyboardMarkup > | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
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.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in tgbotxx::InlineQueryResultArticle, tgbotxx::InlineQueryResultPhoto, tgbotxx::InlineQueryResultGif, tgbotxx::InlineQueryResultMpeg4Gif, tgbotxx::InlineQueryResultVideo, tgbotxx::InlineQueryResultAudio, tgbotxx::InlineQueryResultVoice, tgbotxx::InlineQueryResultDocument, tgbotxx::InlineQueryResultLocation, tgbotxx::InlineQueryResultVenue, tgbotxx::InlineQueryResultContact, tgbotxx::InlineQueryResultGame, tgbotxx::InlineQueryResultCachedPhoto, tgbotxx::InlineQueryResultCachedGif, tgbotxx::InlineQueryResultCachedMpeg4Gif, tgbotxx::InlineQueryResultCachedSticker, tgbotxx::InlineQueryResultCachedDocument, tgbotxx::InlineQueryResultCachedVideo, tgbotxx::InlineQueryResultCachedVoice, and tgbotxx::InlineQueryResultCachedAudio.
Definition at line 56 of file InlineQueryResult.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::InlineQueryResultArticle, tgbotxx::InlineQueryResultPhoto, tgbotxx::InlineQueryResultGif, tgbotxx::InlineQueryResultMpeg4Gif, tgbotxx::InlineQueryResultVideo, tgbotxx::InlineQueryResultAudio, tgbotxx::InlineQueryResultVoice, tgbotxx::InlineQueryResultDocument, tgbotxx::InlineQueryResultLocation, tgbotxx::InlineQueryResultVenue, tgbotxx::InlineQueryResultContact, tgbotxx::InlineQueryResultGame, tgbotxx::InlineQueryResultCachedPhoto, tgbotxx::InlineQueryResultCachedGif, tgbotxx::InlineQueryResultCachedMpeg4Gif, tgbotxx::InlineQueryResultCachedSticker, tgbotxx::InlineQueryResultCachedDocument, tgbotxx::InlineQueryResultCachedVideo, tgbotxx::InlineQueryResultCachedVoice, and tgbotxx::InlineQueryResultCachedAudio.
Definition at line 48 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResult::id |
Unique identifier for this result, 1-64 bytes.
Definition at line 43 of file InlineQueryResult.hpp.
| Ptr<InlineKeyboardMarkup> tgbotxx::InlineQueryResult::replyMarkup |
Optional. Inline keyboard attached to the message.
Definition at line 46 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResult::type |
Type of the result.
Definition at line 40 of file InlineQueryResult.hpp.