23 #ifndef TGBOT_CPP_REPLYKEYBOARDMARKUP_H 24 #define TGBOT_CPP_REPLYKEYBOARDMARKUP_H 43 typedef std::shared_ptr<ReplyKeyboardMarkup>
Ptr;
48 std::vector<std::vector<KeyboardButton::Ptr>>
keyboard;
70 #endif //TGBOT_CPP_REPLYKEYBOARDMARKUP_H bool selective
Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.
This object represents a custom keyboard with reply options.
This abstract class is base of all keyboard related events.
bool oneTimeKeyboard
Optional. Requests clients to hide the keyboard as soon as it's been used. Defaults to false...
std::vector< std::vector< KeyboardButton::Ptr > > keyboard
Array of button rows, each represented by an Array of KeyboardButton.
std::shared_ptr< ReplyKeyboardMarkup > Ptr
bool resizeKeyboard
Optional. Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.