Package it.tdlight.jni
Class TdApi.AuthenticationCodeTypeSms
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthenticationCodeType
it.tdlight.jni.TdApi.AuthenticationCodeTypeSms
- Enclosing class:
- TdApi
public static class TdApi.AuthenticationCodeTypeSms extends TdApi.AuthenticationCodeType
An authentication code is delivered
via an SMS message to the specified phone number.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
length
Length of the code. -
Constructor Summary
Constructors Constructor Description AuthenticationCodeTypeSms()
An authentication code is delivered via an SMS message to the specified phone number.AuthenticationCodeTypeSms(int length)
An authentication code is delivered via an SMS message to the specified phone number.AuthenticationCodeTypeSms(DataInput input)
-
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
-
length
public int lengthLength of the code. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AuthenticationCodeTypeSms
public AuthenticationCodeTypeSms()An authentication code is delivered via an SMS message to the specified phone number. -
AuthenticationCodeTypeSms
public AuthenticationCodeTypeSms(int length)An authentication code is delivered via an SMS message to the specified phone number.- Parameters:
length
- int Length of the code.
-
AuthenticationCodeTypeSms
- 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()
-