method ApiMethods.setBusinessAccountGiftSettings
ApiMethods.setBusinessAccountGiftSettings(args: { business_connection_id: string; show_gift_button: boolean; accepted_gift_types: AcceptedGiftTypes; }): true

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.

Parameters

args: { business_connection_id: string; show_gift_button: boolean; accepted_gift_types: AcceptedGiftTypes; }

Return Type

true

Usage

import { type ApiMethods } from "types";