GetPassportAuthorizationForm
public struct GetPassportAuthorizationForm : Codable, Equatable, TDFunction
Returns a Telegram Passport authorization form for sharing data with a service
-
Undocumented
Declaration
Swift
public typealias Result = PassportAuthorizationForm -
User identifier of the service’s bot
Declaration
Swift
public let botUserId: Int32 -
Telegram Passport element types requested by the service
Declaration
Swift
public let scope: String -
Service’s public_key
Declaration
Swift
public let publicKey: String -
Authorization form nonce provided by the service
Declaration
Swift
public let nonce: String -
Returns a Telegram Passport authorization form for sharing data with a service
Declaration
Swift
public init(botUserId: Int32, scope: String, publicKey: String, nonce: String)Parameters
botUserIdUser identifier of the service’s bot
scopeTelegram Passport element types requested by the service
publicKeyService’s public_key
nonceAuthorization form nonce provided by the service
View on GitHub
Install in Dash
GetPassportAuthorizationForm Structure Reference