tgbot-cpp
|
This abstract class is base of all bot menu buttons. More...
#include <MenuButton.h>
Public Types | |
typedef std::shared_ptr< MenuButton > | Ptr |
Public Member Functions | |
MenuButton () | |
virtual | ~MenuButton () |
Public Attributes | |
std::string | type |
Type of the button. | |
This abstract class is base of all bot menu buttons.
This object describes the bot's menu button in a private chat. If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.
Definition at line 19 of file MenuButton.h.
typedef std::shared_ptr<MenuButton> TgBot::MenuButton::Ptr |
Definition at line 21 of file MenuButton.h.
|
inline |
Definition at line 23 of file MenuButton.h.
|
inlinevirtual |
Definition at line 25 of file MenuButton.h.
std::string TgBot::MenuButton::type |
Type of the button.
Definition at line 30 of file MenuButton.h.