Download a profile photo
download_profile_photoDownload the profile photo of a Telegram user, chat, or channel. The image is saved to the local downloads directory for later use.
Instructions
Download the profile photo of a user/chat/channel. Saved under /root/.telegram-agent/downloads.
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": {
"peer": "<peer>"
},
"name": "download_profile_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No |