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
19
class
KeyboardButton
{
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
TgBot::KeyboardButton
Definition:
KeyboardButton.h:19
TgBot
Definition:
Api.h:44
TgBot::KeyboardButton::Ptr
std::shared_ptr< KeyboardButton > Ptr
Definition:
KeyboardButton.h:22
TgBot::KeyboardButton::requestContact
bool requestContact
Definition:
KeyboardButton.h:34
TgBot::KeyboardButton::requestLocation
bool requestLocation
Definition:
KeyboardButton.h:39
TgBot::KeyboardButton::text
std::string text
Definition:
KeyboardButton.h:28
include
tgbot
types
KeyboardButton.h
Generated on Sun Jan 15 2017 02:33:16 for tgbot-cpp by
1.8.13