Interface RegisterUser

Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration. Request type for Tdjson#registerUser.

interface RegisterUser {
    @type: "registerUser";
    disable_notification?: boolean;
    first_name: string;
    last_name: string;
}

Properties

@type: "registerUser"
disable_notification?: boolean

Pass true to disable notification about the current user joining Telegram for other users that added them to contact list.

first_name: string

The first name of the user; 1-64 characters.

last_name: string

The last name of the user; 0-64 characters.