PassportElementError
public struct PassportElementError : Codable, Equatable, FunctionResult
Contains the description of an error in a Telegram Passport element
-
Type of the Telegram Passport element which has the error
Declaration
Swift
public let type: PassportElementType -
Error message
Declaration
Swift
public let message: String -
Error source
Declaration
Swift
public let source: PassportElementErrorSource -
Contains the description of an error in a Telegram Passport element
Declaration
Swift
public init(type: PassportElementType, message: String, source: PassportElementErrorSource)Parameters
typeType of the Telegram Passport element which has the error
messageError message
sourceError source
View on GitHub
Install in Dash
PassportElementError Structure Reference