setBusinessAccountProfilePhoto
Update the profile photo of a managed business account. Pass the business connection ID and an InputProfilePhoto object, optionally marking it public to override privacy settings.
Instructions
Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.
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": {
"business_connection_id": "<business_connection_id>",
"photo": "<photo>"
},
"name": "setBusinessAccountProfilePhoto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | The new profile photo to set. Must be an InputProfilePhoto object. | |
| is_public | No | Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. | |
| business_connection_id | Yes | Unique identifier of the business connection |