ChatRevenueAmount¶
Contains information about revenue earned from sponsored messages in a chat
ChatRevenueAmount(
cryptocurrency: string,
total_amount: int64,
balance_amount: int64,
available_amount: int64,
withdrawal_enabled: Bool
) → ChatRevenueAmount
cryptocurrency¶
string
Cryptocurrency in which revenue is calculated
total_amount¶
int64
Total amount of the cryptocurrency earned, in the smallest units of the cryptocurrency
balance_amount¶
int64
Amount of the cryptocurrency that isn't withdrawn yet, in the smallest units of the cryptocurrency
available_amount¶
int64
Amount of the cryptocurrency available for withdrawal, in the smallest units of the cryptocurrency
withdrawal_enabled¶
Bool
True, if Telegram Stars can be withdrawn now or later