Skip to main content
Go to Latest
method client.TelegramClient.prototype.downloadProfilePhoto
import { client } from "https://deno.land/x/grm@0.8.0/mod.ts";
const { TelegramClient } = client;

Parameters

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

Returns

Promise<
| string
| Buffer
| Buffer
| undefined
>