|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user. More...
#include <BotCommandScope.hpp>
Public Member Functions | |
| BotCommandScopeDefault () | |
| BotCommandScopeDefault (const nl::json &json) | |
| nl::json | toJson () const override |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) override |
| Deserializes this object from JSON. | |
Public Member Functions inherited from tgbotxx::BotCommandScope | |
| BotCommandScope ()=default | |
| BotCommandScope (const nl::json &json) | |
| virtual | ~BotCommandScope ()=default |
Additional Inherited Members | |
Public Attributes inherited from tgbotxx::BotCommandScope | |
| std::string | type |
| Scope type. | |
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
Definition at line 38 of file BotCommandScope.hpp.
|
inline |
Definition at line 39 of file BotCommandScope.hpp.
|
inlineexplicit |
Definition at line 42 of file BotCommandScope.hpp.
Deserializes this object from JSON.
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 54 of file BotCommandScope.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 48 of file BotCommandScope.hpp.