PassportData

Description

Contains information about Telegram Passport data shared with the bot by the user.

Attributes

Name Type Description
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

Location

  • from aiogram.types import PassportData
  • from aiogram.api.types import PassportData
  • from aiogram.api.types.passport_data import PassportData