|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Base class of all inline query results This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types: More...
#include <InputMessageContent.hpp>
Public Member Functions | |
| InputMessageContent ()=default | |
| InputMessageContent (const nl::json &json) | |
| virtual | ~InputMessageContent ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of this content. | |
Base class of all inline query results This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:
Definition at line 15 of file InputMessageContent.hpp.
|
default |
|
inlineexplicit |
Definition at line 17 of file InputMessageContent.hpp.
|
virtualdefault |
Reimplemented in tgbotxx::InputTextMessageContent, tgbotxx::InputLocationMessageContent, tgbotxx::InputVenueMessageContent, tgbotxx::InputContactMessageContent, and tgbotxx::InputInvoiceMessageContent.
Definition at line 32 of file InputMessageContent.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::InputTextMessageContent, tgbotxx::InputLocationMessageContent, tgbotxx::InputVenueMessageContent, tgbotxx::InputContactMessageContent, and tgbotxx::InputInvoiceMessageContent.
Definition at line 26 of file InputMessageContent.hpp.
| std::string tgbotxx::InputMessageContent::type |
Type of this content.
Definition at line 23 of file InputMessageContent.hpp.