StarAmount
Describes an amount of Telegram Stars.
fields
| field | type | required | description |
|---|---|---|---|
amount | number | required | Integer amount of Telegram Stars, rounded to 0; can be negative |
nanostar_amount | number | optional | Optional. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if amount is non-positive |
import
import type { StarAmount } from "@yaebal/types";used by
methods
types
official Bot API docs: https://core.telegram.org/bots/api/#staramount