tgbotxx  1.1.6.9
Telegram Bot C++ Library
tgbotxx::MenuButtonCommands Struct Reference

Represents a menu button, which opens the bot's list of commands. https://core.telegram.org/bots/api#menubuttoncommands. More...

#include <MenuButton.hpp>

Inheritance diagram for tgbotxx::MenuButtonCommands:
tgbotxx::MenuButton

Public Member Functions

 MenuButtonCommands ()
 
 MenuButtonCommands (const nl::json &json)
 
- Public Member Functions inherited from tgbotxx::MenuButton
 MenuButton ()=default
 
 MenuButton (const nl::json &json)
 
virtual ~MenuButton ()=default
 
virtual nl::json toJson () const
 Serializes this object to JSON. More...
 
virtual void fromJson (const nl::json &json)
 Deserializes this object from JSON. More...
 

Additional Inherited Members

- Public Attributes inherited from tgbotxx::MenuButton
std::string type
 Type of the button. More...
 

Detailed Description

Represents a menu button, which opens the bot's list of commands. https://core.telegram.org/bots/api#menubuttoncommands.

Definition at line 87 of file MenuButton.hpp.

Constructor & Destructor Documentation

◆ MenuButtonCommands() [1/2]

tgbotxx::MenuButtonCommands::MenuButtonCommands ( )
inline

Definition at line 88 of file MenuButton.hpp.

◆ MenuButtonCommands() [2/2]

tgbotxx::MenuButtonCommands::MenuButtonCommands ( const nl::json &  json)
inlineexplicit

Definition at line 91 of file MenuButton.hpp.


The documentation for this struct was generated from the following file: