public static class TdApi.InternalLinkTypePassportDataRequest extends TdApi.InternalLinkType
TdApi.InternalLinkType.Constructors
Modifier and Type | Field and Description |
---|---|
long |
botUserId
User identifier of the service's bot.
|
java.lang.String |
callbackUrl
An HTTP URL to open once the request is finished or canceled with the parameter tgPassport=success or tgPassport=cancel respectively.
|
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 |
---|
InternalLinkTypePassportDataRequest()
The link contains a request of Telegram passport data.
|
InternalLinkTypePassportDataRequest(long botUserId,
java.lang.String scope,
java.lang.String publicKey,
java.lang.String nonce,
java.lang.String callbackUrl)
The link contains a request of Telegram passport data.
|
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 java.lang.String callbackUrl
public static final int CONSTRUCTOR
public InternalLinkTypePassportDataRequest()
public InternalLinkTypePassportDataRequest(long botUserId, java.lang.String scope, java.lang.String publicKey, java.lang.String nonce, java.lang.String callbackUrl)
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.callbackUrl
- An HTTP URL to open once the request is finished or canceled with the parameter tgPassport=success or tgPassport=cancel respectively. If empty, then the link tgbot{botUserId}://passport/success or tgbot{botUserId}://passport/cancel needs to be opened instead.public int getConstructor()
getConstructor
in class TdApi.InternalLinkType