StarsRevenueStatus

class pyrogram.types.StarsRevenueStatus

Describes Telegram Star revenue balances.

Parameters:
  • current_balance (StarsAmount) – Amount of not-yet-withdrawn Telegram Stars.

  • available_balance (StarsAmount) – Amount of withdrawable Telegram Stars.

  • overall_revenue (StarsAmount) – Total amount of earned Telegram Stars.

  • withdrawal_enabled (bool) – If set, the user may withdraw up to available_balance stars.

  • next_withdrawal_date (datetime, optional) – Date when withdrawal will be available to the user. If not set, withdrawal can be started now.