Class TdApi.AuthenticationCodeTypeMissedCall
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeType
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeTypeMissedCall
- Enclosing class:
- TdApi
An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Number of digits in the code, excluding the prefix.Prefix of the phone number from which the call will be made. -
Constructor Summary
ConstructorDescriptionAn authentication code is delivered by an immediately canceled call to the specified phone number.AuthenticationCodeTypeMissedCall
(String phoneNumberPrefix, int length) An authentication code is delivered by an immediately canceled call to the specified phone number. -
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
-
phoneNumberPrefix
Prefix of the phone number from which the call will be made. -
length
public int lengthNumber of digits in the code, excluding the prefix. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AuthenticationCodeTypeMissedCall
public AuthenticationCodeTypeMissedCall()An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user. -
AuthenticationCodeTypeMissedCall
An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.- Parameters:
phoneNumberPrefix
- Prefix of the phone number from which the call will be made.length
- Number of digits in the code, excluding the prefix.
-
-
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
-