telegram-set-profile-photo
Upload a local image or video to set your Telegram profile photo, including animated MP4 avatars and fallback photos for privacy-limited viewers.
Instructions
Upload and set a new profile photo from a local file. Supports JPEG/PNG for static avatar or MP4 for animated avatar (square, up to 10s). Optionally set as fallback photo shown to users who cannot see your main photo.
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": {
"filePath": "<filePath>"
},
"name": "telegram-set-profile-photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isVideo | No | true if file is an MP4 animated avatar; false for static photo | |
| fallback | No | true = set as fallback photo (shown to users who cannot see your main photo due to privacy settings) | |
| filePath | Yes | Absolute local filesystem path to photo (JPEG/PNG) or video (MP4, square) to upload as avatar. URLs are rejected. | |
| videoStartTs | No | For video avatar: timestamp in seconds to use as still preview frame |