MessagePaymentSuccessful.fromJson constructor
Parses a MessagePaymentSuccessful from TDLib JSON.
Implementation
factory MessagePaymentSuccessful.fromJson(Map<String, dynamic> json) =>
MessagePaymentSuccessful(
invoiceChatId: _readInt(json['invoice_chat_id']),
invoiceMessageId: _readInt(json['invoice_message_id']),
currency: _readString(json['currency']),
totalAmount: _readInt(json['total_amount']),
isRecurring: _readBool(json['is_recurring']),
isFirstRecurring: _readBool(json['is_first_recurring']),
invoiceName: _readString(json['invoice_name']),
);