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

Parameters

messageOrMedia: CustomMessage | Api.Message | Api.TypeMessageMedia
optional
downloadParams: types.DownloadMediaInterface

Returns

Promise<Buffer | string | undefined> | Buffer