Skip to main content
Module

x/grm/mod.ts>TelegramClient#downloadProfilePhoto

MTProto API Client for Deno 🦕
Go to Latest
method TelegramClient.prototype.downloadProfilePhoto
import { TelegramClient } from "https://deno.land/x/grm@0.8.0/mod.ts";

Parameters

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

Returns

Promise<
| string
| Buffer
| Buffer
| undefined
>