PassportAuthorizationForm
public struct PassportAuthorizationForm : Codable, Equatable, FunctionResult
Contains information about a Telegram Passport authorization form that was requested
-
Unique identifier of the authorization form
Declaration
Swift
public let id: Int32
-
Information about the Telegram Passport elements that need to be provided to complete the form
Declaration
Swift
public let requiredElements: [PassportRequiredElement]
-
URL for the privacy policy of the service; may be empty
Declaration
Swift
public let privacyPolicyUrl: String
-
Contains information about a Telegram Passport authorization form that was requested
Declaration
Swift
public init(id: Int32, requiredElements: [PassportRequiredElement], privacyPolicyUrl: String)
Parameters
id
Unique identifier of the authorization form
requiredElements
Information about the Telegram Passport elements that need to be provided to complete the form
privacyPolicyUrl
URL for the privacy policy of the service; may be empty