Class TdApi.GetPassportAuthorizationFormAvailableElements
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.PassportElementsWithErrors>
dev.voroby.springframework.telegram.client.TdApi.GetPassportAuthorizationFormAvailableElements
- Enclosing class:
- TdApi
public static class TdApi.GetPassportAuthorizationFormAvailableElements
extends TdApi.Function<TdApi.PassportElementsWithErrors>
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.
Returns PassportElementsWithErrors
-
Field Summary
Modifier and TypeFieldDescriptionint
Authorization form identifier.static final int
Identifier uniquely determining type of the object.The 2-step verification password of the current user. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.GetPassportAuthorizationFormAvailableElements
(int authorizationFormId, String password) Creates a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
authorizationFormId
public int authorizationFormIdAuthorization form identifier. -
password
The 2-step verification password of the current user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPassportAuthorizationFormAvailableElements
public GetPassportAuthorizationFormAvailableElements()Default constructor for a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.Returns
PassportElementsWithErrors
-
GetPassportAuthorizationFormAvailableElements
Creates a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.Returns
PassportElementsWithErrors
- Parameters:
authorizationFormId
- Authorization form identifier.password
- The 2-step verification password of the current user.
-
-
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
-