Interface DownloadFileParameters

Parameters used to download a file.

interface DownloadFileParameters {
    config?: DownloadFileConfig;
    downloadPath: string;
    file: DownloadableFileUnion;
}

Properties

Configuration to for the download operation.

downloadPath: string

Location where the file should be downloaded to.

The file to download. It can be a file name, a file object or a generated video.