amount property
The amount of the currency that will be paid for the post in the smallest units of the currency.
This means:
- For Telegram Stars: the actual number of stars (must be between 5 and 100000)
- For toncoins: nanotoncoins (must be between 10000000 and 10000000000000)
Implementation
@JsonKey(name: 'amount')
int get amount;