tgbot-cpp
Loading...
Searching...
No Matches
MenuButton.h
Go to the documentation of this file.
1#ifndef TGBOT_MENUBUTTON_H
2#define TGBOT_MENUBUTTON_H
3
4#include <memory>
5#include <string>
6
7namespace TgBot {
8
20public:
21 typedef std::shared_ptr<MenuButton> Ptr;
22
24
25 virtual ~MenuButton() {}
26
30 std::string type;
31};
32}
33
34#endif //TGBOT_MENUBUTTON_H
This abstract class is base of all bot menu buttons.
Definition MenuButton.h:19
virtual ~MenuButton()
Definition MenuButton.h:25
std::shared_ptr< MenuButton > Ptr
Definition MenuButton.h:21
std::string type
Type of the button.
Definition MenuButton.h:30
Definition Api.h:40