StarsTonAmount

class pyrogram.raw.types.StarsTonAmount

Describes an amount of toncoin in nanotons (i.e. 1/1_000_000_000 of a toncoin).

Constructor of StarsAmount.

Details:
  • Layer: 223

  • ID: 74AEE3E0

Parameters:

amount (int 64-bit) – The amount in nanotons.

TL Schema

starsTonAmount#74aee3e0
amount:long

= StarsAmount

Parameter Tree

StarsTonAmount
└── amountlong

Example

StarsTonAmount(
    amount=0,
)