UpdateMessageEdited.fromJson constructor

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

Parse from a json

Implementation

factory UpdateMessageEdited.fromJson(Map<String, dynamic> json) =>
    UpdateMessageEdited(
      chatId: json['chat_id'],
      messageId: json['message_id'],
      editDate: json['edit_date'],
      replyMarkup: json['reply_markup'] == null
          ? null
          : ReplyMarkup.fromJson(json['reply_markup']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );