Skip to main content
Module

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

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

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>