account.ConfirmPasswordEmail#

class pyrogram.raw.functions.account.ConfirmPasswordEmail#

Verify an email to use as 2FA recovery method.

Details:
  • Layer: 158

  • ID: 8FDF1920

Parameters:

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

Returns:

bool