set_chat_photo
Set a new profile photo for a Telegram chat. Specify a local file path; optionally target a specific chat ID or @username.
Instructions
Set a new profile photo for a chat. If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | Absolute local file path to the new chat photo | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group |