tgbot-cpp
Loading...
Searching...
No Matches
MenuButtonCommands.h
Go to the documentation of this file.
1#ifndef TGBOT_MENUBUTTONCOMMANDS_H
2#define TGBOT_MENUBUTTONCOMMANDS_H
3
5
6#include <memory>
7
8namespace TgBot {
9
16public:
17 static const std::string TYPE;
18
19 typedef std::shared_ptr<MenuButtonCommands> Ptr;
20
22 this->type = TYPE;
23 }
24};
25}
26
27#endif //TGBOT_MENUBUTTONCOMMANDS_H
Represents a menu button, which opens the bot's list of commands.
std::shared_ptr< MenuButtonCommands > Ptr
static const std::string TYPE
This abstract class is base of all bot menu buttons.
Definition MenuButton.h:19
std::string type
Type of the button.
Definition MenuButton.h:30
Definition Api.h:39