|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Represents the scope of bot commands, covering all private chats. More...
#include <BotCommandScope.hpp>
Public Member Functions | |
| BotCommandScopeAllPrivateChats () | |
| BotCommandScopeAllPrivateChats (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 scope of bot commands, covering all private chats.
Definition at line 60 of file BotCommandScope.hpp.
|
inline |
Definition at line 61 of file BotCommandScope.hpp.
|
inlineexplicit |
Definition at line 64 of file BotCommandScope.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 76 of file BotCommandScope.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::BotCommandScope.
Definition at line 70 of file BotCommandScope.hpp.