Interface SetName

Changes the first and last name of the current user. Request type for Tdjson#setName.

interface SetName {
    @type: "setName";
    first_name: string;
    last_name: string;
}

Properties

@type: "setName"
first_name: string

The new value of the first name for the current user; 1-64 characters.

last_name: string

The new value of the optional last name for the current user; 0-64 characters.