|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents the bot's name. https://core.telegram.org/bots/api#botname. More...
#include <BotName.hpp>
Public Member Functions | |
| BotName ()=default | |
| BotName (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::string | name |
| The bot's name. | |
This object represents the bot's name. https://core.telegram.org/bots/api#botname.
Definition at line 7 of file BotName.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file BotName.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 25 of file BotName.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 18 of file BotName.hpp.
| std::string tgbotxx::BotName::name |
The bot's name.
Definition at line 14 of file BotName.hpp.