class downloads.DirectDownloadIter
extends RequestIter
import { downloads } from "https://deno.land/x/grm@0.5.1/src/client/mod.ts";
const { DirectDownloadIter } = downloads;
Properties
private
optional
_sender: MTProtoSenderprotected
optional
_lastPart: Bufferprotected
buffer: Buffer[] | undefinedMethods
_init(unnamed 0: DirectDownloadIterInterface)
_loadNextChunk(): Promise<boolean | undefined>
close()
[Symbol.asyncIterator](): AsyncIterator<Buffer, any, undefined>