InputStoryContentVideo.fromJson constructor
Parses a InputStoryContentVideo from TDLib JSON.
Implementation
factory InputStoryContentVideo.fromJson(Map<String, dynamic> json) =>
InputStoryContentVideo(
video: _readObject(json['video'], InputFile.fromJson),
addedStickerFileIds:
_readList<int>(json['added_sticker_file_ids'], _readInt),
duration: _readDouble(json['duration']),
isAnimation: _readBool(json['is_animation']),
);