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

Parameters

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

Returns

Promise<
| string
| Buffer
| Buffer
| undefined
>