Package it.tdlight.jni
Class TdApi.CheckAuthenticationCode
- Enclosing class:
- TdApi
Checks the authentication code. Works
only when the current authorization
state is authorizationStateWaitCode.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionThe verification code received via SMS, Telegram message, phone call, or flash call.static final int
-
Constructor Summary
ConstructorDescriptionChecks the authentication code.CheckAuthenticationCode
(DataInput input) 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
The verification code received via SMS, Telegram message, phone call, or flash call. -
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.Returns
Ok
-
CheckAuthenticationCode
Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.Returns
Ok
- Parameters:
code
- String The verification code received via SMS, Telegram message, phone call, or flash call.
-
CheckAuthenticationCode
- 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()
-