StarsAmount
- class pyrogram.raw.base.StarsAmount
Describes a real (i.e. possibly decimal) amount of Telegram Stars.
- Constructors:
This base type has 2 constructors available.
Describes a real (i.e. possibly decimal) amount of Telegram Stars.
Describes an amount of toncoin in nanotons (i.e. 1/1_000_000_000 of a toncoin).
TL Schema
starsAmount#bbb6b4a3
amount:long
nanos:int
= StarsAmount
Parameter Tree
StarsAmount
├── amount →
long└── nanos →
intExample
StarsAmount(
amount=0,
nanos=0,
)