InputPassportElementError
public struct InputPassportElementError : Codable, Equatable, FunctionResult
Contains the description of an error in a Telegram Passport element; for bots only
-
Type of Telegram Passport element that has the error
Declaration
Swift
public let type: PassportElementType
-
Error message
Declaration
Swift
public let message: String
-
Error source
Declaration
Swift
public let source: InputPassportElementErrorSource
-
Contains the description of an error in a Telegram Passport element; for bots only
Declaration
Swift
public init(type: PassportElementType, message: String, source: InputPassportElementErrorSource)
Parameters
type
Type of Telegram Passport element that has the error
message
Error message
source
Error source