Identity

Get a user's profile photos

Returns the profile photo history for a user.

get/v1/users/{peer_id}/photos

Request

  • Base URL: https://telegram155.p.rapidapi.com
  • URL: https://telegram155.p.rapidapi.com/v1/users/{peer_id}/photos
  • Auth: none declared

Path parameters

peer_idinteger required

Numeric Telegram peer id (channel or user). Obtain from /v1/usernames/{username}, /v1/phones/{phone}, /v1/contacts/search, or any prior response's peer.user_id / peer.channel_id field.

Query parameters

limitinteger

Maximum items to return. Defaults to 20 when omitted; values above 100 are clamped to 100.

offsetinteger

Number of photos to skip from the most recent.

max_idinteger

Return photos with id < max_id.

Response

Profile photo history.

countinteger

Total photo count when paginated. Absent when the full set is returned.

Changes

No recorded changes to this operation across all 1 revision of this API.