Documentation - v0.27.4
    Preparing search index...

    Type Alias InputStarsAmount

    InputStarsAmount: tl.Long | number | tl.TypeStarsAmount

    Defines a number of stars or a TON amount:

    • number and Long are considered as the exact number of stars.
    • Fractional stars should be passed explicitly as { _: 'starsAmount', ... } (though i'm not sure if any methods accept that)
    • TON amounts and should be passed explicitly as { _: 'starsAmountTon', ... }