Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Popular
Latest
method tgClient.AbstractTelegramClient.prototype.downloadMedia
import { tgClient } from "https://deno.land/x/grm@0.8.2/mod.ts";
const { AbstractTelegramClient } = tgClient;

Parameters

messageOrMedia: any | Api.TypeMessageMedia
optional
downloadParams: types.DownloadMediaInterface

Returns

Promise<Buffer | string | undefined> | Buffer