Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PassportElementErrorSource
- = PassportElementErrorSourceUnspecified
- | PassportElementErrorSourceDataField {
- field_name :: Maybe Text
- | PassportElementErrorSourceFrontSide
- | PassportElementErrorSourceReverseSide
- | PassportElementErrorSourceSelfie
- | PassportElementErrorSourceTranslationFile {
- file_index :: Maybe Int
- | PassportElementErrorSourceTranslationFiles
- | PassportElementErrorSourceFile {
- file_index :: Maybe Int
- | PassportElementErrorSourceFiles
Documentation
data PassportElementErrorSource Source #
Contains the description of an error in a Telegram Passport element
PassportElementErrorSourceUnspecified | The element contains an error in an unspecified place. The error will be considered resolved when new data is added |
PassportElementErrorSourceDataField | One of the data fields contains an error. The error will be considered resolved when the value of the field changes |
| |
PassportElementErrorSourceFrontSide | The front side of the document contains an error. The error will be considered resolved when the file with the front side changes |
PassportElementErrorSourceReverseSide | The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes |
PassportElementErrorSourceSelfie | The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes |
PassportElementErrorSourceTranslationFile | One of files with the translation of the document contains an error. The error will be considered resolved when the file changes |
| |
PassportElementErrorSourceTranslationFiles | The translation of the document contains an error. The error will be considered resolved when the list of translation files changes |
PassportElementErrorSourceFile | The file contains an error. The error will be considered resolved when the file changes |
| |
PassportElementErrorSourceFiles | The list of attached files contains an error. The error will be considered resolved when the list of files changes |