setBusinessAccountProfilePhoto
Set or change a managed business account’s profile photo, optionally making it public, and return success when the business bot has profile-photo edit permission.
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 | |
| 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. An account can have only one public photo. | |
| business_connection_id | Yes | Unique identifier of the business connection |