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
typeType of Telegram Passport element that has the error
messageError message
sourceError source
View on GitHub
Install in Dash
InputPassportElementError Structure Reference