PassportElementErrorUnspecified#
- class aiogram.types.passport_element_error_unspecified.PassportElementErrorUnspecified(*, source: Literal[PassportElementErrorType.UNSPECIFIED] = PassportElementErrorType.UNSPECIFIED, type: str, element_hash: str, message: str, **extra_data: Any)[source]#
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Source: https://core.telegram.org/bots/api#passportelementerrorunspecified
- source: Literal[PassportElementErrorType.UNSPECIFIED]#
Error source, must be unspecified
- type: str#
Type of element of the user’s Telegram Passport which has the issue
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(_ModelMetaclass__context: Any) None #
We need to both initialize private attributes and call the user-defined model_post_init method.
- element_hash: str#
Base64-encoded element hash
- message: str#
Error message