setBusinessAccountUsername
Change a managed business account's username using its connection ID, with an option to clear it by passing an empty string. Requires the can_change_username bot permission.
Instructions
Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | The new username for the business account; 0-32 characters. Pass an empty string to remove the username. | |
| business_connection_id | Yes | Unique identifier of the business connection |