libtd-ktx / kotlinx.telegram.coroutines / getPassportAuthorizationForm
getPassportAuthorizationForm
suspend fun
TelegramFlow
.getPassportAuthorizationForm(botUserId:
Int
, scope:
String
?, publicKey:
String
?, nonce:
String
?):
PassportAuthorizationForm
Suspend function, which returns a Telegram Passport authorization form for sharing data with a service.
Parameters
botUserId
- User identifier of the service’s bot.
scope
- Telegram Passport element types requested by the service.
publicKey
- Service’s publicKey.
nonce
- Authorization form nonce provided by the service.
Return PassportAuthorizationForm Contains information about a Telegram Passport authorization form that was requested.