Skip to content

GramRevenueStatus

Type · TDLib 1.8.67 · d1085f9c

Contains information about TON Grams earned by the current user

GramRevenueStatus(
  total_amount: int64,
  balance_amount: int64,
  available_amount: int64,
  withdrawal_enabled: Bool
) → GramRevenueStatus

total_amount

int64

Total Gram amount earned; in the smallest units of the cryptocurrency

balance_amount

int64

The Gram amount that isn't withdrawn yet; in the smallest units of the cryptocurrency

available_amount

int64

The Gram amount that is available for withdrawal; in the smallest units of the cryptocurrency

withdrawal_enabled

Bool

True, if Grams can be withdrawn