Interface SetAuthenticationEmailAddress

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. Request type for Tdjson#setAuthenticationEmailAddress.

interface SetAuthenticationEmailAddress {
    @type: "setAuthenticationEmailAddress";
    email_address: string;
}

Properties

Properties

@type: "setAuthenticationEmailAddress"
email_address: string

The email address of the user.