Skip to content

StarRevenueStatus

Type · TDLib 1.8.67 · d1085f9c

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

StarAmount

Total Telegram Star amount earned

current_amount

StarAmount

The Telegram Star amount that isn't withdrawn yet

available_amount

StarAmount

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