StarsRevenueStatus¶
- class pyrogram.types.StarsRevenueStatus[source]¶
Contains information about Telegram Stars revenue and withdrawal status.
- Parameters:
current_balance (
float) – Current total Stars balance.available_balance (
float) – Stars balance currently available for withdrawal.overall_revenue (
float) – Total all-time revenue earned in Stars.withdrawal_enabled (
bool, optional) – True, if withdrawals via Fragment/TON are enabled.next_withdrawal_at (
datetime, optional) – Date and time when the next withdrawal will become available.raw_current_balance (
StarAmount, optional) – Raw StarAmount object for current balance.raw_available_balance (
StarAmount, optional) – Raw StarAmount object for available balance.raw_overall_revenue (
StarAmount, optional) – Raw StarAmount object for overall revenue.