tgbotxx
1.1.6.9
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. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | name |
The bot's name. More... | |
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.