Class TdApi.GetPassportAuthorizationForm
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.PassportAuthorizationForm>
dev.voroby.springframework.telegram.client.TdApi.GetPassportAuthorizationForm
- Enclosing class:
- TdApi
public static class TdApi.GetPassportAuthorizationForm
extends TdApi.Function<TdApi.PassportAuthorizationForm>
Returns a Telegram Passport authorization form for sharing data with a service.
Returns PassportAuthorizationForm
-
Field Summary
Modifier and TypeFieldDescriptionlong
User identifier of the service's bot.static final int
Identifier uniquely determining type of the object.Unique request identifier provided by the service.Service's public key.Telegram Passport element types requested by the service. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns a Telegram Passport authorization form for sharing data with a service.GetPassportAuthorizationForm
(long botUserId, String scope, String publicKey, String nonce) Creates a function, which returns a Telegram Passport authorization form for sharing data with a service. -
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
-
botUserId
public long botUserIdUser identifier of the service's bot. -
scope
Telegram Passport element types requested by the service. -
publicKey
Service's public key. -
nonce
Unique request identifier provided by the service. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPassportAuthorizationForm
public GetPassportAuthorizationForm()Default constructor for a function, which returns a Telegram Passport authorization form for sharing data with a service.Returns
PassportAuthorizationForm
-
GetPassportAuthorizationForm
Creates a function, which returns a Telegram Passport authorization form for sharing data with a service.Returns
PassportAuthorizationForm
- Parameters:
botUserId
- User identifier of the service's bot.scope
- Telegram Passport element types requested by the service.publicKey
- Service's public key.nonce
- Unique request identifier provided by the service.
-
-
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
-