---
title: "getUserProfilePhotos"
method: POST
path: "/bot{token}/getUserProfilePhotos"
---

# getUserProfilePhotos

`POST /bot{token}/getUserProfilePhotos`

Use this method to get a list of profile pictures for a user.

## Path parameters

- `token` string, required

## Request body

- object
  - `user_id` integer — Unique identifier of the target user
  - `offset` integer — Sequential number of the first photo to be returned. By default, all photos are returned.
  - `limit` integer — Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.

## Response `200`

200

- object
  - `ok` boolean
  - `result` object
    - `total_count` integer
    - `photos` array[]
      - object[]
        - `file_id` string
        - `file_size` integer
        - `width` integer
        - `height` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/telegram/apis/api-settings.md) · [All operations](https://skmtc.net/telegram/apis/api-settings/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/telegram/api-settings/versions/1933ff0a8d5f/schema)
