InputStoryContentPhoto.fromJson constructor
Parses a InputStoryContentPhoto from TDLib JSON.
Implementation
factory InputStoryContentPhoto.fromJson(Map<String, dynamic> json) =>
InputStoryContentPhoto(
photo: _readObject(json['photo'], InputFile.fromJson),
addedStickerFileIds: _readList<int>(
json['added_sticker_file_ids'],
_readInt,
),
);