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

Parameters

entity: Api.TypeEntityLike
optional
downloadProfilePhotoParams: types.DownloadProfilePhotoParams = [UNSUPPORTED]

Returns

Promise<
| string
| undefined
>