-
Notifications
You must be signed in to change notification settings - Fork 4
checkAuthCode
Naji edited this page Sep 4, 2017
·
2 revisions
Checks authentication code
checkAuthCode(code, first_name, last_name)Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success.
| Option | Description |
|---|---|
code |
Verification code from SMS, Telegram message, phone call or flash call |
first_name |
User first name, if user is yet not registered, 1-255 characters |
last_name |
Optional user last name, if user is yet not registered, 0-255 characters |