get_user_profile_photos
Retrieve a list of file IDs for a Telegram user's profile photos. Provide the user ID and optionally set a limit on the number of photos.
Instructions
Return a lightweight list of Telegram profile photo file IDs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>"
},
"name": "get_user_profile_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| user_id | No | ||
| total_count | No | ||
| photos | No |