account.UpdatePasswordSettings#

class pyrogram.raw.functions.account.UpdatePasswordSettings#

Set a new 2FA password

Details:
  • Layer: 211

  • ID: A59B102F

Parameters:
  • password (InputCheckPasswordSRP) – The old password (see SRP)

  • new_settings (account.PasswordInputSettings) – The new password (see SRP)

Returns:

bool