MessageSendingStateFailed.fromJson constructor

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

Parse from a json

Implementation

factory MessageSendingStateFailed.fromJson(Map<String, dynamic> json) => MessageSendingStateFailed(
  errorCode: json['error_code'],
  errorMessage: json['error_message'],
  canRetry: json['can_retry'],
  needAnotherSender: json['need_another_sender'],
  retryAfter: json['retry_after'],
);