PassportFile

class aiogram.types.passport_file.PassportFile(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]

Bases: TelegramObject

This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don’t exceed 10MB.

https://core.telegram.org/bots/api#passportfile

Deserialize object

Parameters
  • conf

  • kwargs