Describes the price of a suggested post. https://core.telegram.org/bots/api#suggestedpostprice.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
SuggestedPostPrice(const nl::json &json)
nl::json toJson() const
Serializes this object to JSON.
SuggestedPostPrice()=default
std::string currency
Currency in which the post will be paid. Currently, must be one of “XTR” for Telegram Stars or “TON” ...
std::int64_t amount
The amount of the currency that will be paid for the post in the smallest units of the currency,...