public static class TdApi.AuthenticationCodeTypeSms extends TdApi.AuthenticationCodeType
| 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()
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(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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int length
public static final int CONSTRUCTOR
public AuthenticationCodeTypeSms()
public AuthenticationCodeTypeSms(int length)
length - Length of the code.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object