StarRevenueStatus¶
Contains information about Telegram Stars earned by a user or a chat
StarRevenueStatus(
total_amount: StarAmount,
current_amount: StarAmount,
available_amount: StarAmount,
withdrawal_enabled: Bool,
next_withdrawal_in: int32
) → StarRevenueStatus
total_amount¶
Total Telegram Star amount earned
current_amount¶
The Telegram Star amount that isn't withdrawn yet
available_amount¶
The Telegram Star amount that is available for withdrawal
withdrawal_enabled¶
Bool
True, if Telegram Stars can be withdrawn now or later
next_withdrawal_in¶
int32
Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now