import { Client } from "https://deno.land/x/mtkruto@0.6.3/5_client.ts";
Download a file.
Examples
Example 1
Example 1
for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
await outFile.write(chunk);
}
Parameters
optional
params: DownloadParams