Interface SetBusinessAccountUsername

Changes the editable username of a business account; for bots only. Request type for Tdjson#setBusinessAccountUsername.

interface SetBusinessAccountUsername {
    @type: "setBusinessAccountUsername";
    business_connection_id: string;
    username: string;
}

Properties

@type: "setBusinessAccountUsername"
business_connection_id: string

Unique identifier of business connection.

username: string

The new value of the username.