- class pyrogram.raw.types.account.Password
Configuration for two-factor authorization.
PasswordKdfAlgo) – The KDF algorithm for SRP two-factor authentication to use when creating new passwords.
SecurePasswordKdfAlgo) – The KDF algorithm for telegram passport.
bytes) – Secure random string.
bool, optional) – Whether the user has a recovery method configured.
bool, optional) – Whether telegram passport is enabled.
bool, optional) – Whether the user has a password.
PasswordKdfAlgo, optional) – The KDF algorithm for SRP two-factor authentication of the current password.
bytes, optional) – Srp B param for SRP authorization.
64-bit, optional) – Srp ID param for SRP authorization.
str, optional) – Text hint for the password.
str, optional) – A password recovery email with the specified pattern is still awaiting verification.
32-bit, optional) – The 2FA password will be automatically removed at this date, unless the user cancels the operation.
This object can be returned by 1 function.
Obtain configuration for two-factor authorization with password.