tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents an inline keyboard that appears right next to the message it belongs to. https://core.telegram.org/bots/api#inlinekeyboardmarkup. More...
#include <InlineKeyboardMarkup.hpp>
Public Member Functions | |
InlineKeyboardMarkup ()=default | |
InlineKeyboardMarkup (const nl::json &json) | |
virtual | ~InlineKeyboardMarkup ()=default |
nl::json | toJson () const override |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) override |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::vector< std::vector< Ptr< InlineKeyboardButton > > > | inlineKeyboard |
Array of button rows, each represented by an Array of InlineKeyboardButton objects. More... | |
This object represents an inline keyboard that appears right next to the message it belongs to. https://core.telegram.org/bots/api#inlinekeyboardmarkup.
Definition at line 9 of file InlineKeyboardMarkup.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file InlineKeyboardMarkup.hpp.
|
virtualdefault |
|
inlineoverridevirtual |
Deserializes this object from JSON.
Implements tgbotxx::IReplyMarkup.
Definition at line 28 of file InlineKeyboardMarkup.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Implements tgbotxx::IReplyMarkup.
Definition at line 21 of file InlineKeyboardMarkup.hpp.
std::vector<std::vector<Ptr<InlineKeyboardButton> > > tgbotxx::InlineKeyboardMarkup::inlineKeyboard |
Array of button rows, each represented by an Array of InlineKeyboardButton objects.
Definition at line 17 of file InlineKeyboardMarkup.hpp.