2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: authStateWaitCode
|
|
|
|
description: TDLib needs user authentication code to finish authorization
|
|
|
|
---
|
|
|
|
## Constructor: authStateWaitCode
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TDLib needs user authentication code to finish authorization
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|is\_registered|[Bool](../types/Bool.md) | Yes|True, if user is already registered|
|
|
|
|
|code\_type|[AuthCodeType](../types/AuthCodeType.md) | Yes|Describes the way, code was sent to the user|
|
|
|
|
|next\_code\_type|[AuthCodeType](../types/AuthCodeType.md) | Yes|Describes the way, next code will be sent to the user, nullable|
|
|
|
|
|timeout|[int](../types/int.md) | Yes|Timeout in seconds before code should be resent by calling resendAuthCode|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [AuthState](../types/AuthState.md)
|
|
|
|
|
|
|
|
|