name: PassportElementErrorType
description: |
  This object represents a passport element error type.

  Source: https://core.telegram.org/bots/api#passportelementerror
multi_parse:
  attribute: source
  regexp: 'must be ([a-z_]+)'
  entities:
    - PassportElementErrorDataField
    - PassportElementErrorFrontSide
    - PassportElementErrorReverseSide
    - PassportElementErrorSelfie
    - PassportElementErrorFile
    - PassportElementErrorFiles
    - PassportElementErrorTranslationFile
    - PassportElementErrorTranslationFiles
    - PassportElementErrorUnspecified
