ChatEventPhotoChanged.fromJson constructor
Parse from a json
Implementation
factory ChatEventPhotoChanged.fromJson(Map<String, dynamic> json) =>
ChatEventPhotoChanged(
oldPhoto: json['old_photo'] == null
? null
: ChatPhoto.fromJson(json['old_photo']),
newPhoto: json['new_photo'] == null
? null
: ChatPhoto.fromJson(json['new_photo']),
);