Constructor: starsAmount
Describes a real (i.e. possibly decimal) amount of Telegram Stars.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
amount | long | Yes | The integer amount of Telegram Stars. |
nanos | int | Yes | The decimal amount of Telegram Stars, expressed as nanostars (i.e. 1 nanostar is equal to 1/1'000'000'000 th of a Telegram Star). This field may also be negative (the allowed range is -999999999 to 999999999). |
Type: StarsAmount
Example:
$starsAmount = ['_' => 'starsAmount', 'amount' => long, 'nanos' => int];