telegram-set-profile-photo
Set your Telegram profile photo by uploading a local JPEG, PNG, or MP4 file. Use animated square videos up to 10 seconds and optionally set a fallback photo for users with restricted visibility.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute local filesystem path to photo (JPEG/PNG) or video (MP4, square) to upload as avatar. URLs are rejected. | |
| isVideo | No | true if file is an MP4 animated avatar; false for static photo | |
| videoStartTs | No | For video avatar: timestamp in seconds to use as still preview frame | |
| fallback | No | true = set as fallback photo (shown to users who cannot see your main photo due to privacy settings) |