Skip to main content
Module

x/grm/mod.ts>client._downloadDocument

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

Parameters

outputFile: OutFile | undefined
date: number
optional
thumb: number | string | Api.TypePhotoSize
optional
progressCallback: ProgressCallback
optional
msgData: [Api.TypeEntityLike, number]

Returns

Promise<Buffer | string | undefined>