View Source ExTDLib.Object.InternalLinkTypePassportDataRequest (ExTDLib v0.0.4)

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.

NameTypeDescription
bot_user_idstringUser identifier of the service's bot.
scopestringTelegram Passport element types requested by the service.
public_keystringService's public key.
noncestringUnique request identifier provided by the service.
callback_urlstringAn HTTP URL to open once the request is finished, canceled, or failed with the parameters tg_passport=success, tg_passport=cancel, or tg_passport=error&error=... respectively. If empty, then onActivityResult method must be used to return response on Android, or the link tgbot{bot_user_id}://passport/success or tgbot{bot_user_id}://passport/cancel must be opened otherwise.

More details on telegram's documentation.