confirm_password_email()

async Client.confirm_password_email()

Verify an email to use as 2FA recovery method.

Usable by Users Bots
Parameters:

code (str) – The code that was received after setting a recovery email.

Returns:

bool – On success, True is returned.