setBusinessAccountGiftSettings
Updates gift privacy settings for a managed business account, including whether to show a gift button and which gift types are accepted; requires can_change_gift_settings permission.
Instructions
Changes the privacy settings pertaining to incoming 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, if a button for sending a gift to the user or by the business account must always be shown in the input field | |
| accepted_gift_types | Yes | Types of gifts accepted by the business account | |
| business_connection_id | Yes | Unique identifier of the business connection |