setBusinessAccountGiftSettings
Set gift privacy options for a business account by toggling the gift button and defining which gift types are accepted. Controls how customers can send gifts.
Instructions
Changes the privacy settings for gifts in a managed business account. Requires the can_change_gift_settings 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>",
"show_gift_button": "<show_gift_button>",
"accepted_gift_types": "<accepted_gift_types>"
},
"name": "setBusinessAccountGiftSettings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show_gift_button | Yes | Pass True to show the gift button on the business account's profile; False to hide it. | |
| accepted_gift_types | Yes | An AcceptedGiftTypes object describing the types of gifts that can be sent to the business account. | |
| business_connection_id | Yes | Unique identifier of the business connection |