PassportElementError¶
-
class
aiogram.types.passport_element_error.
PassportElementError
(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]¶ Bases:
aiogram.types.base.TelegramObject
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
https://core.telegram.org/bots/api#passportelementerror
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorDataField¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorDataField
(source: String, type: String, field_name: String, data_hash: String, message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field’s value changes.
https://core.telegram.org/bots/api#passportelementerrordatafield
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorFile¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorFile
(source: String, type: String, file_hash: String, message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
https://core.telegram.org/bots/api#passportelementerrorfile
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorFiles¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorFiles
(source: String, type: String, file_hashes: List[String], message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
https://core.telegram.org/bots/api#passportelementerrorfiles
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorFrontSide¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorFrontSide
(source: String, type: String, file_hash: String, message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
https://core.telegram.org/bots/api#passportelementerrorfrontside
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorReverseSide¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorReverseSide
(source: String, type: String, file_hash: String, message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
https://core.telegram.org/bots/api#passportelementerrorreverseside
Deserialize object
- Parameters
conf –
kwargs –
PassportElementErrorSelfie¶
-
class
aiogram.types.passport_element_error.
PassportElementErrorSelfie
(source: String, type: String, file_hash: String, message: String)[source]¶ Bases:
aiogram.types.passport_element_error.PassportElementError
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
https://core.telegram.org/bots/api#passportelementerrorselfie
Deserialize object
- Parameters
conf –
kwargs –