Package it.tdlight.jni
Class TdApi.CheckAuthenticationCode
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CheckAuthenticationCode
- Enclosing class:
- TdApi
public static class TdApi.CheckAuthenticationCode extends TdApi.Function
Checks the authentication code. Works
only when the current authorization
state is authorizationStateWaitCode.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description String
code
The verification code received via SMS, Telegram message, phone call, or flash call.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description CheckAuthenticationCode()
Checks the authentication code.CheckAuthenticationCode(DataInput input)
CheckAuthenticationCode(String code)
Checks the authentication code. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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()
-