MessagePhoto.fromJson constructor
Parse from a json
Implementation
factory MessagePhoto.fromJson(Map<String, dynamic> json) => MessagePhoto(
photo: Photo.fromJson(json['photo']),
caption: FormattedText.fromJson(json['caption']),
isSecret: json['is_secret'],
);