fromJson static method
Inherited by: InputInvoiceMessage InputInvoiceName InputInvoiceTelegram
Implementation
static InputInvoiceMessage? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputInvoiceMessage(
chatId: (json['chat_id'] as int?) ?? 0,
messageId: (json['message_id'] as int?) ?? 0,
);
}