Skip to content

registerUser

Function · TDLib 1.8.67 · d1085f9c

Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration

registerUser(
  first_name: string,
  last_name: string,
  disable_notification: Bool
) → Ok

first_name

string

The first name of the user; 1-64 characters

last_name

string

The last name of the user; 0-64 characters

disable_notification

Bool

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