Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

User → Get Profile Photos

AI-generated

Summary

Retrieve the profile photos of a specified Telegram user with options for pagination and filtering.

Inputs

  • User ID (required) — The user ID or username of the Telegram user whose profile photos to retrieve.
  • Additional Options — Optional parameters to control the retrieval of profile photos: offsetId (for pagination offset), minId (minimum photo ID), maxId (maximum photo ID), parseMode (text formatting mode: Markdown, HTML, or None), silent (whether the message is sent silently), replyTo (message ID to reply to), and linkPreview (whether to show link preview).

Output shape

a single JSON object containing the user's profile photos as returned by the Telegram MTProto API

The output includes all available profile photos up to a limit of 100, with possible pagination using offsetId, minId, and maxId. The result structure matches Telegram API's photos.GetUserPhotos response.

Examples

Example 1: Retrieve profile photos for user with ID '123456'.

Set 'User ID' to '123456' and optionally configure pagination options.

Discussion