22 nl::json json = nl::json::object();
34 void _fromJson(
const nl::json& json) {
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY_ARRAY(json, json_field, array_array_field)
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY_ARRAY(json, json_field, array_array_field, optional)
The interface of reply markup objects InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove ...
This object represents an inline keyboard that appears right next to the message it belongs to....
InlineKeyboardMarkup()=default
virtual ~InlineKeyboardMarkup()=default
void fromJson(const nl::json &json) override
Deserializes this object from JSON.
InlineKeyboardMarkup(const nl::json &json)
nl::json toJson() const override
Serializes this object to JSON.
std::vector< std::vector< Ptr< InlineKeyboardButton > > > inlineKeyboard
Array of button rows, each represented by an Array of InlineKeyboardButton objects.