Class TdApi.AuthenticationCodeTypeSms
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeType
dev.voroby.springframework.telegram.client.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
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 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 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
-
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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-