Configuration for two-factor authorization.
Constructor type of
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.
This object can be returned by 1 method:
Obtain configuration for two-factor authorization with password.