26 nl::json json = nl::json::object();
#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.
This object contains information about the chat whose identifier was shared with the bot using a Keyb...
nl::json toJson() const
Serializes this object to JSON.
std::int32_t requestId
Identifier of the request.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
ChatShared(const nl::json &json)
std::int64_t chatId
Identifier of the shared chat. This number may have more than 32 significant bits and some programmin...