set_business_account_name()¶
- async Client.set_business_account_name()¶
Change the first and last name of a managed business account.
Requires the
can_change_namebusiness bot right.Usable by Users Bots- Parameters:
business_connection_id (
str) – Unique identifier of the business connection.first_name (
str) – New first name for the business account; 1-64 characters.last_name (
str, optional) – New last name for the business account; 0-64 characters. Pass an empty string to remove the last name.
- Returns:
bool– True on success.
Example
await app.set_business_account_name(connection_id, "Acme", "Corp")