Class TdApi.AuthenticationCodeTypeTelegramMessage
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeType
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeTypeTelegramMessage
- Enclosing class:
- TdApi
public static class TdApi.AuthenticationCodeTypeTelegramMessage
extends TdApi.AuthenticationCodeType
A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Length of the code. -
Constructor Summary
ConstructorDescriptionA 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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
-
AuthenticationCodeTypeTelegramMessage
public AuthenticationCodeTypeTelegramMessage()A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session. -
AuthenticationCodeTypeTelegramMessage
public AuthenticationCodeTypeTelegramMessage(int length) A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.- Parameters:
length
- Length of the code.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-