PassportElementErrorSource
public indirect enum PassportElementErrorSource : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Contains the description of an error in a Telegram Passport element
-
The element contains an error in an unspecified place. The error will be considered resolved when new data is added
Declaration
Swift
case unspecified
-
One of the data fields contains an error. The error will be considered resolved when the value of the field changes
- fieldName: Field name
Declaration
Swift
case dataField(fieldName: String)
-
The front side of the document contains an error. The error will be considered resolved when the file with the front side changes
Declaration
Swift
case frontSide
-
The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes
Declaration
Swift
case reverseSide
-
The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes
Declaration
Swift
case selfie
-
One of files with the translation of the document contains an error. The error will be considered resolved when the file changes
- fileIndex: Index of a file with the error
Declaration
Swift
case translationFile(fileIndex: Int32)
-
The translation of the document contains an error. The error will be considered resolved when the list of translation files changes
Declaration
Swift
case translationFiles
-
The file contains an error. The error will be considered resolved when the file changes
- fileIndex: Index of a file with the error
Declaration
Swift
case file(fileIndex: Int32)
-
The list of attached files contains an error. The error will be considered resolved when the list of files changes
Declaration
Swift
case files