GetPassportElement
public struct GetPassportElement : Codable, Equatable, TDFunction
Returns one of the available Telegram Passport elements
-
Undocumented
Declaration
Swift
public typealias Result = PassportElement -
Telegram Passport element type
Declaration
Swift
public let type: PassportElementType -
Password of the current user
Declaration
Swift
public let password: String -
Returns one of the available Telegram Passport elements
Declaration
Swift
public init(type: PassportElementType, password: String)Parameters
typeTelegram Passport element type
passwordPassword of the current user
View on GitHub
Install in Dash
GetPassportElement Structure Reference