37 nl::json json = nl::json::object();
53 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.
Upon receiving a message with this object, Telegram clients will display a reply interface to the use...
void fromJson(const nl::json &json) override
Deserializes this object from JSON.
ForceReply(const nl::json &json)
nl::json toJson() const override
Serializes this object to JSON.
std::string inputFieldPlaceholder
Optional. The placeholder to be shown in the input field when the reply is active; 1-64 characters.
bool selective
Optional. Use this parameter if you want to force reply from specific users only. Targets:
bool forceReply
Shows reply interface to the user, as if they manually selected the bot's message and tapped 'Reply'.
The interface of reply markup objects InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove ...