Class TdApi.GetPassportElement
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.PassportElement>
dev.voroby.springframework.telegram.client.TdApi.GetPassportElement
- Enclosing class:
- TdApi
Returns one of the available Telegram Passport elements.
Returns PassportElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The 2-step verification password of the current user.Telegram Passport element type. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns one of the available Telegram Passport elements.GetPassportElement
(TdApi.PassportElementType type, String password) Creates a function, which returns one of the available Telegram Passport elements. -
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
-
type
Telegram Passport element type. -
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
-
GetPassportElement
public GetPassportElement()Default constructor for a function, which returns one of the available Telegram Passport elements.Returns
PassportElement
-
GetPassportElement
Creates a function, which returns one of the available Telegram Passport elements.Returns
PassportElement
- Parameters:
type
- Telegram Passport element type.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
-