public static class TdApi.AuthenticationCodeTypeTelegramMessage 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 |
|---|
AuthenticationCodeTypeTelegramMessage()
A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
|
AuthenticationCodeTypeTelegramMessage(int length)
A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
|
| 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 AuthenticationCodeTypeTelegramMessage()
public AuthenticationCodeTypeTelegramMessage(int length)
length - Length of the code.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object