Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
method Context.prototype.getUserProfilePhotos
import { Context } from "https://deno.land/x/grammy@v1.31.1/context.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