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>
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.
◆ InputMessageContent() [1/2]
tgbotxx::InputMessageContent::InputMessageContent |
( |
| ) |
|
|
default |
◆ InputMessageContent() [2/2]
tgbotxx::InputMessageContent::InputMessageContent |
( |
const nl::json & |
json | ) |
|
|
inlineexplicit |
◆ ~InputMessageContent()
virtual tgbotxx::InputMessageContent::~InputMessageContent |
( |
| ) |
|
|
virtualdefault |
◆ fromJson()
virtual void tgbotxx::InputMessageContent::fromJson |
( |
const nl::json & |
json | ) |
|
|
inlinevirtual |
◆ toJson()
virtual nl::json tgbotxx::InputMessageContent::toJson |
( |
| ) |
const |
|
inlinevirtual |
◆ type
std::string tgbotxx::InputMessageContent::type |
The documentation for this struct was generated from the following file: