SendPassportAuthorizationForm
public struct SendPassportAuthorizationForm : Codable, Equatable, TDFunction
Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements need to be used
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Authorization form identifier
Declaration
Swift
public let autorizationFormId: Int32 -
Types of Telegram Passport elements chosen by user to complete the authorization form
Declaration
Swift
public let types: [PassportElementType] -
Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements need to be used
Declaration
Swift
public init(autorizationFormId: Int32, types: [PassportElementType])Parameters
autorizationFormIdAuthorization form identifier
typesTypes of Telegram Passport elements chosen by user to complete the authorization form
View on GitHub
Install in Dash
SendPassportAuthorizationForm Structure Reference