java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InternalLinkType
it.tdlight.jni.TdApi.InternalLinkTypePassportDataRequest
- Enclosing class:
- TdApi
The link contains a request of Telegram
passport data. Call getPassportAuthorizationForm
with the given parameters to process
the link if the link was received from
outside of the application, otherwise ignore it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
User identifier of the service's bot.An HTTP URL to open once the request is finished or canceled with the parameter tgPassport=success or tgPassport=cancel respectively.static final int
Unique request identifier provided by the service.Service's public key.Telegram Passport element types requested by the service. -
Constructor Summary
ConstructorsConstructorDescriptionThe link contains a request of Telegram passport data.InternalLinkTypePassportDataRequest
(long botUserId, String scope, String publicKey, String nonce, String callbackUrl) The link contains a request of Telegram passport data.The link contains a request of Telegram passport data. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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. -
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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InternalLinkTypePassportDataRequest
public InternalLinkTypePassportDataRequest()The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the application, otherwise ignore it. -
InternalLinkTypePassportDataRequest
public InternalLinkTypePassportDataRequest(long botUserId, String scope, String publicKey, String nonce, String callbackUrl) The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the application, otherwise ignore it.- Parameters:
botUserId
- long User identifier of the service's bot.scope
- String Telegram Passport element types requested by the service.publicKey
- String Service's public key.nonce
- String Unique request identifier provided by the service.callbackUrl
- String 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.
-
InternalLinkTypePassportDataRequest
The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the application, otherwise ignore it.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-