Package it.tdlight.jni
Class TdApi.InternalLinkTypeAuthenticationCode
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InternalLinkType
it.tdlight.jni.TdApi.InternalLinkTypeAuthenticationCode
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypeAuthenticationCode extends TdApi.InternalLinkType
The link contains an authentication
code. Call checkAuthenticationCode
with the code if the current authorization
state is authorizationStateWaitCode.
-
Field Summary
Fields Modifier and Type Field Description String
code
The authentication code.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description InternalLinkTypeAuthenticationCode()
The link contains an authentication code.InternalLinkTypeAuthenticationCode(DataInput input)
InternalLinkTypeAuthenticationCode(String code)
The link contains an authentication code. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
code
The authentication code. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InternalLinkTypeAuthenticationCode
public InternalLinkTypeAuthenticationCode()The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode. -
InternalLinkTypeAuthenticationCode
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.- Parameters:
code
- String The authentication code.
-
InternalLinkTypeAuthenticationCode
- 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()
-