tgbot-cpp
Loading...
Searching...
No Matches
ReplyKeyboardMarkup.h
Go to the documentation of this file.
1#ifndef TGBOT_REPLYKEYBOARDMARKUP_H
2#define TGBOT_REPLYKEYBOARDMARKUP_H
3
6
7#include <memory>
8#include <string>
9#include <vector>
10
11namespace TgBot {
12
19
20public:
21 typedef std::shared_ptr<ReplyKeyboardMarkup> Ptr;
22
26 std::vector<std::vector<KeyboardButton::Ptr>> keyboard;
27
34
41
49
54
63};
64}
65
66#endif //TGBOT_REPLYKEYBOARDMARKUP_H
This abstract class is base of all keyboard related events.
This object represents a custom keyboard with reply options (see Introduction to bots for details and...
bool isPersistent
Optional. Requests clients to always show the keyboard when the regular keyboard is hidden.
bool oneTimeKeyboard
Optional. Requests clients to hide the keyboard as soon as it's been used.
std::string inputFieldPlaceholder
Optional. The placeholder to be shown in the input field when the keyboard is active; 1-64 characters...
std::vector< std::vector< KeyboardButton::Ptr > > keyboard
Array of button rows, each represented by an Array of KeyboardButton objects.
bool resizeKeyboard
Optional. Requests clients to resize the keyboard vertically for optimal fit (e.g....
bool selective
Optional. Use this parameter if you want to show the keyboard to specific users only.
std::shared_ptr< ReplyKeyboardMarkup > Ptr
Definition Api.h:40