Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/mod.ts>client.DirectDownloadIter

MTProto API Client for Deno 🦕
Go to Latest
class client.DirectDownloadIter
extends RequestIter
import { client } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { DirectDownloadIter } = client;

Properties

private
optional
_sender: MTProtoSender
private
_timedOut: boolean
protected
optional
_chunkSize: number
protected
optional
_lastPart: Buffer
protected
optional
_stride: number
protected
buffer: Buffer[] | undefined
protected
optional
request: Api.upload.GetFile

Methods

_loadNextChunk(): Promise<boolean | undefined>
_request(): Promise<Buffer>
[Symbol.asyncIterator](): AsyncIterator<Buffer, any, undefined>