InputPageBlockPhoto.fromJson constructor
Parses a InputPageBlockPhoto from TDLib JSON.
Implementation
factory InputPageBlockPhoto.fromJson(Map<String, dynamic> json) =>
InputPageBlockPhoto(
photo: _readObject(json['photo'], InputPhoto.fromJson),
caption: _readOptional(json['caption'], PageBlockCaption.fromJson),
hasSpoiler: _readBool(json['has_spoiler']),
);