MessageExtendedMediaPhoto.fromJson constructor
Parses a MessageExtendedMediaPhoto from TDLib JSON.
Implementation
factory MessageExtendedMediaPhoto.fromJson(Map<String, dynamic> json) =>
MessageExtendedMediaPhoto(
photo: _readObject(json['photo'], Photo.fromJson),
caption: _readObject(json['caption'], FormattedText.fromJson),
);