StoryContentPhoto.fromJson constructor

StoryContentPhoto.fromJson(
  1. Map<String, dynamic> json
)

Parses a StoryContentPhoto from TDLib JSON.

Implementation

factory StoryContentPhoto.fromJson(Map<String, dynamic> json) =>
    StoryContentPhoto(
      photo: _readObject(json['photo'], Photo.fromJson),
    );