Interface SetLoginEmailAddress

Changes the login email address of the user. The email address can be changed only if the current user already has login email and passwordState.login_email_address_pattern is non-empty, or the user received suggestedActionSetLoginEmailAddress and isLoginEmailAddressRequired succeeds. The change will not be applied until the new login email address is confirmed with checkLoginEmailAddressCode. To use Apple ID/Google ID instead of an email address, call checkLoginEmailAddressCode directly. Request type for Tdjson#setLoginEmailAddress.

interface SetLoginEmailAddress {
    @type: "setLoginEmailAddress";
    new_login_email_address: string;
}

Properties

@type: "setLoginEmailAddress"
new_login_email_address: string

New login email address.