Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grm/src/mod.ts>_downloadDocument

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

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>