ChatEventMessageEdited.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventMessageEdited.fromJson(Map<String, dynamic> json) => ChatEventMessageEdited(
  oldMessage: Message.fromJson(json['old_message']),
  newMessage: Message.fromJson(json['new_message']),
);