# telegram.SecureData

class telegram.SecureData(personal_details=None, passport=None, internal_passport=None, driver_license=None, identity_card=None, address=None, utility_bill=None, bank_statement=None, rental_agreement=None, passport_registration=None, temporary_registration=None, bot=None, **_kwargs)

  Bases: `telegram.base.TelegramObject`

  This object represents the credentials that were used to decrypt the encrypted data. All fields are optional and depend on fields that were requested.

  personal_details

    Credentials for encrypted personal details.

    Type

      `telegram.SecureValue`, optional

  passport

    Credentials for encrypted passport.

    Type

      `telegram.SecureValue`, optional

  internal_passport

    Credentials for encrypted internal passport.

    Type

      `telegram.SecureValue`, optional

  driver_license

    Credentials for encrypted driver license.

    Type

      `telegram.SecureValue`, optional

  identity_card

    Credentials for encrypted ID card

    Type

      `telegram.SecureValue`, optional

  address

    Credentials for encrypted residential address.

    Type

      `telegram.SecureValue`, optional

  utility_bill

    Credentials for encrypted utility bill.

    Type

      `telegram.SecureValue`, optional

  bank_statement

    Credentials for encrypted bank statement.

    Type

      `telegram.SecureValue`, optional

  rental_agreement

    Credentials for encrypted rental agreement.

    Type

      `telegram.SecureValue`, optional

  passport_registration

    Credentials for encrypted registration from internal passport.

    Type

      `telegram.SecureValue`, optional

  temporary_registration

    Credentials for encrypted temporary registration.

    Type

      `telegram.SecureValue`, optional

  classmethod de_json(data, bot)

    See `telegram.TelegramObject.de_json()`.