UpdateMessageSendFailed.fromJson constructor

UpdateMessageSendFailed.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory UpdateMessageSendFailed.fromJson(Map<String, dynamic> json) => UpdateMessageSendFailed(
  message: Message.fromJson(json['message']),
  oldMessageId: json['old_message_id'],
  errorCode: json['error_code'],
  errorMessage: json['error_message'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);