tgbot-cpp
KeyboardButton.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_KEYBOARDBUTTON_H
6 #define TGBOT_CPP_KEYBOARDBUTTON_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
20 
21 public:
22  typedef std::shared_ptr<KeyboardButton> Ptr;
23 
28  std::string text;
29 
34  bool requestContact = false;
35 
39  bool requestLocation = false;
40 };
41 
42 }
43 
44 #endif //TGBOT_CPP_KEYBOARDBUTTON_H
Definition: Api.h:44
std::shared_ptr< KeyboardButton > Ptr