StarAmount

class pyrogram.types.StarAmount

Describes a possibly non-integer amount of Telegram Stars.

Parameters:
  • star_count (``int``, *optional*) – The integer amount of Telegram Stars rounded to 0.

  • nanostar_count (``int``, *optional*) – The number of 1/1000000000 shares of Telegram Stars. From -999999999 to 999999999.