public static class TdApi.GetPassportAuthorizationForm extends TdApi.Function
Returns PassportAuthorizationForm
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
botUserId
User identifier of the service's bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
nonce
Unique request identifier provided by the service.
|
java.lang.String |
publicKey
Service's public key.
|
java.lang.String |
scope
Telegram Passport element types requested by the service.
|
Constructor and Description |
---|
GetPassportAuthorizationForm()
Default constructor for a function, which returns a Telegram Passport authorization form for sharing data with a service.
|
GetPassportAuthorizationForm(long botUserId,
java.lang.String scope,
java.lang.String publicKey,
java.lang.String nonce)
Creates a function, which returns a Telegram Passport authorization form for sharing data with a service.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long botUserId
public java.lang.String scope
public java.lang.String publicKey
public java.lang.String nonce
public static final int CONSTRUCTOR
public GetPassportAuthorizationForm()
Returns PassportAuthorizationForm
public GetPassportAuthorizationForm(long botUserId, java.lang.String scope, java.lang.String publicKey, java.lang.String nonce)
Returns PassportAuthorizationForm
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.public int getConstructor()
getConstructor
in class TdApi.Function