22 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field)
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
Contains a list of Telegram Star transactions. https://core.telegram.org/bots/api#startransactions.
StarTransactions()=default
StarTransactions(const nl::json &json)
std::vector< Ptr< StarTransaction > > transactions
The list of transactions.
nl::json toJson() const
Serializes this object to JSON.
void fromJson(const nl::json &json)
Deserializes this object from JSON.