PassportElementError

class aiogram.types.passport_element_error.PassportElementError(**extra_data: Any)[source]

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:

Source: https://core.telegram.org/bots/api#passportelementerror

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.