Skip to main content
Module

x/grm/mod.ts>client.TelegramClient#downloadFile

MTProto API Client for Deno 🦕
Go to Latest
method client.TelegramClient.prototype.downloadFile
import { client } from "https://deno.land/x/grm@0.8.0/mod.ts";
const { TelegramClient } = client;

Parameters

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

Returns

Promise<string | Buffer | undefined>