TDLib v0.0.2 TDLib.Method.CheckAuthenticationCode View Source
Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.
Returns object_ptr
Name | Type | Description |
---|---|---|
code | string | The verification code received via SMS, Telegram message, phone call, or flash call. |
first_name | string | If the user is not yet registered, the first name of the user; 1-255 characters. |
last_name | string | If the user is not yet registered; the last name of the user; optional; 0-255 characters. |
More details on telegram’s documentation.