19 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.
Describes a service message about a change in the price of paid messages within a chat....
std::int64_t paidMessageStarCount
The new number of Telegram Stars that must be paid by non-administrator users for each message.
nl::json toJson() const
Serializes this object to JSON.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
PaidMessagePriceChanged(const nl::json &json)
PaidMessagePriceChanged()=default