Interface StarAmount

Describes a possibly non-integer Telegram Star amount.

interface StarAmount {
    @type: "starAmount";
    nanostar_count: number;
    star_count: number;
}

Properties

@type: "starAmount"
nanostar_count: number

The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.

star_count: number

The integer Telegram Star amount rounded to 0.