toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'purchase_date': purchaseDate,
'currency': currency,
'amount': amount,
'cryptocurrency': cryptocurrency,
'cryptocurrency_amount': cryptocurrencyAmount.toString(),
'url': url,
};