set_login_email_address


Description:

public async EmailAddressAuthenticationCodeInfo set_login_email_address (string new_login_email_address) throws TDLibError

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. The change will not be applied until the new login email address is confirmed with Client.check_login_email_address_code To use Apple ID/Google ID instead of an email address, call Client.check_login_email_address_code directly

Parameters:

new_login_email_address

New login email address