InputStoryContentVideo.fromJson constructor
Parse from a json
Implementation
factory InputStoryContentVideo.fromJson(Map<String, dynamic> json) =>
InputStoryContentVideo(
video: InputFile.fromJson(json['video']),
addedStickerFileIds: List<int>.from(
(json['added_sticker_file_ids'] ?? [])
.map((item) => item)
.toList()),
duration: json['duration'],
isAnimation: json['is_animation'],
);