Interface SetBusinessAccountName

Changes the first and last name of a business account; for bots only. Request type for Tdjson#setBusinessAccountName.

interface SetBusinessAccountName {
    @type: "setBusinessAccountName";
    business_connection_id: string;
    first_name: string;
    last_name: string;
}

Properties

@type: "setBusinessAccountName"
business_connection_id: string

Unique identifier of business connection.

first_name: string

The new value of the first name for the business account; 1-64 characters.

last_name: string

The new value of the optional last name for the business account; 0-64 characters.