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

x/grammy_files/deps.deno.ts>Context#getUserProfilePhotos

Handle and download received media files.
Latest
method Context.prototype.getUserProfilePhotos
Re-export
import { Context } from "https://deno.land/x/grammy_files@v1.1.1/deps.deno.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