Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>Context#getUserProfilePhotos

The Telegram Bot Framework.
Very Popular
Go to Latest
method Context.prototype.getUserProfilePhotos
Re-export
import { Context } from "https://deno.land/x/grammy@v1.16.1/mod.ts";

Context-aware alias for api.getUserProfilePhotos. Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.

Parameters

optional
other: Other<"getUserProfilePhotos", "user_id">

Unique identifier of the target user

optional
signal: AbortSignal

Optional remaining parameters, confer the official reference below