1 #ifndef CPPGRAM_INLINE_KEYBOARD_HPP 2 #define CPPGRAM_INLINE_KEYBOARD_HPP 49 bool addButton(
const std::string &text,
const std::string &data,
const EButton &button_type );
63 bool addButton(
const std::vector<types::KeyboardButton> &new_buttons );
69 unsigned short changeRow();
81 void get( std::string &reply_markup,
const bool &clear_keyboard = true );
92 Json::Value inline_keyboard;
93 unsigned short column;
Json::FastWriter writer
Get keyboard as Json.
Definition: keyboard.hpp:91
An helper class to create inline keyboard.
Definition: keyboard.hpp:33
EButton
Type of the inlineKeyboardButton to add in the reply markup.
Definition: enums.hpp:80
main namespace for Cppgram
void clearKeyboard()
Clear the inline keyboard of the object.
Definition: keyboard.hpp:74