|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Represents a menu button, which opens the bot's list of commands. https://core.telegram.org/bots/api#menubuttoncommands. More...
#include <MenuButton.hpp>
Public Member Functions | |
| MenuButtonCommands () | |
| MenuButtonCommands (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::MenuButton | |
| MenuButton ()=default | |
| MenuButton (const nl::json &json) | |
| virtual | ~MenuButton ()=default |
Additional Inherited Members | |
Public Attributes inherited from tgbotxx::MenuButton | |
| std::string | type |
| Type of the button. | |
Represents a menu button, which opens the bot's list of commands. https://core.telegram.org/bots/api#menubuttoncommands.
Definition at line 90 of file MenuButton.hpp.
|
inline |
Definition at line 91 of file MenuButton.hpp.
|
inlineexplicit |
Definition at line 94 of file MenuButton.hpp.
Deserializes this object from JSON.
Reimplemented from tgbotxx::MenuButton.
Definition at line 102 of file MenuButton.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::MenuButton.
Definition at line 98 of file MenuButton.hpp.