public static class TdApi.AuthenticationCodeTypeSms extends TdApi.AuthenticationCodeType
TdApi.AuthenticationCodeType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
length
Length of the code.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int length
public static final int CONSTRUCTOR
public AuthenticationCodeTypeSms()
public AuthenticationCodeTypeSms(int length)
length
- Length of the code.public int getConstructor()
getConstructor
in class TdApi.AuthenticationCodeType