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