Skip to content

setAuthenticationEmailAddress

Function · TDLib 1.8.67 · d1085f9c

Sets the email address of the user and sends an authentication code to the email address. Works only when the current authorization state is authorizationStateWaitEmailAddress

setAuthenticationEmailAddress(
  email_address: string
) → Ok

email_address

string

The email address of the user