PassportElementError

Description

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of:

  • PassportElementErrorDataField

  • PassportElementErrorFrontSide

  • PassportElementErrorReverseSide

  • PassportElementErrorSelfie

  • PassportElementErrorFile

  • PassportElementErrorFiles

  • PassportElementErrorTranslationFile

  • PassportElementErrorTranslationFiles

  • PassportElementErrorUnspecified

Location

  • from aiogram.types import PassportElementError
  • from aiogram.api.types import PassportElementError
  • from aiogram.api.types.passport_element_error import PassportElementError