UpdateChatRevenueAmount.fromJson constructor
Parses a UpdateChatRevenueAmount from TDLib JSON.
Implementation
factory UpdateChatRevenueAmount.fromJson(Map<String, dynamic> json) =>
UpdateChatRevenueAmount(
chatId: _readInt(json['chat_id']),
revenueAmount: _readObject(
json['revenue_amount'],
ChatRevenueAmount.fromJson,
),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);