Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method tgClient.AbstractTelegramClient.prototype.downloadProfilePhoto
import { tgClient } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { AbstractTelegramClient } = tgClient;

Parameters

entity: Api.TypeEntityLike
downloadProfilePhotoParams: types.DownloadProfilePhotoParams

Returns

Promise<string | Buffer | undefined>