# getUserProfilePhotos

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

**Category:** Telegram Bot API — Methods (A-Z)  
**URL:** https://docs.botlify.cloud/getuserprofilephotos  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

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

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| user_id | Integer | Yes | Unique identifier of the target user |
| offset | Integer | Optional | Sequential number of the first photo to be returned. By default, all photos are returned. |
| limit | Integer | Optional | Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100. |

## Example

```php

```

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
