31 nl::json json = nl::json::object();
45 void _fromJson(
const nl::json& json) {
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Available objects: https://core.telegram.org/bots/api#available-types.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
The interface of reply markup objects InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove ...
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard a...
bool selective
Optional. Use this parameter if you want to remove the keyboard for specific users only....
ReplyKeyboardRemove()=default
void fromJson(const nl::json &json) override
Deserializes this object from JSON.
nl::json toJson() const override
Serializes this object to JSON.
ReplyKeyboardRemove(const nl::json &json)
bool removeKeyboard
Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you...