Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method TelegramClient.prototype.downloadFile
import { TelegramClient } from "https://deno.land/x/grm@0.5.2/src/client/telegram_client.ts";

Parameters

inputLocation: Api.TypeInputFileLocation
optional
fileParams: types.DownloadFileParamsV2 = [UNSUPPORTED]

Returns

Promise<string | Buffer | undefined>