PassportData#

class aiogram.types.passport_data.PassportData(*, data: List[EncryptedPassportElement], credentials: EncryptedCredentials, **extra_data: Any)[source]#

Describes Telegram Passport data shared with the bot by the user.

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

data: List[EncryptedPassportElement]#

Array with information about documents and other Telegram Passport elements that was shared with the bot

credentials: EncryptedCredentials#

Encrypted credentials required to decrypt the data