1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/authStateWaitPassword.md
2017-07-23 16:33:46 +02:00

1.3 KiB

title description
authStateWaitPassword User is authorized but he needs to enter its password to begin to use application

Constructor: authStateWaitPassword

Back to constructors index

User is authorized but he needs to enter its password to begin to use application

Attributes:

Name Type Required Description
password_hint string Yes Hint on password, can be empty
has_recovery_email Bool Yes Is recovery email set up
recovery_email_pattern string Yes Pattern of email to which recovery mail was sent, empty before recovery email was sent

Type: AuthState

Example:

$authStateWaitPassword = ['_' => 'authStateWaitPassword', 'password_hint' => 'string', 'has_recovery_email' => Bool, 'recovery_email_pattern' => 'string'];

PWRTelegram json-encoded version:

{"_": "authStateWaitPassword", "password_hint": "string", "has_recovery_email": Bool, "recovery_email_pattern": "string"}

Or, if you're into Lua:

authStateWaitPassword={_='authStateWaitPassword', password_hint='string', has_recovery_email=Bool, recovery_email_pattern='string'}