Package org.drinkless.tdlib
Class TdApi.AuthenticationCodeTypeSms
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuthenticationCodeType
org.drinkless.tdlib.TdApi.AuthenticationCodeTypeSms
- Enclosing class:
- TdApi
A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intLength of the code. -
Constructor Summary
ConstructorsConstructorDescriptionA digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.AuthenticationCodeTypeSms(int length) A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
length
public int lengthLength of the code. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AuthenticationCodeTypeSms
public AuthenticationCodeTypeSms()A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code. -
AuthenticationCodeTypeSms
public AuthenticationCodeTypeSms(int length) A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.- Parameters:
length- Length of the code.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-