- Enclosing class:
- TdApi
Checks the authentication code. Works
only when the current authorization
state is authorizationStateWaitCode.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionAuthentication code to check.static final int
-
Constructor Summary
ConstructorDescriptionChecks the authentication code.CheckAuthenticationCode
(DataInput input) Checks the authentication code.Checks the authentication code. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
code
Authentication code to check. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CheckAuthenticationCode
public CheckAuthenticationCode()Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. ReturnsOk
-
CheckAuthenticationCode
Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. ReturnsOk
- Parameters:
code
- String Authentication code to check.
-
CheckAuthenticationCode
Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-