# telegram.SecureValue

class telegram.SecureValue(data=None, front_side=None, reverse_side=None, selfie=None, files=None, translation=None, bot=None, **_kwargs)

  Bases: `telegram.base.TelegramObject`

  This object represents the credentials that were used to decrypt the encrypted value. All fields are optional and depend on the type of field.

  data

    Credentials for encrypted Telegram Passport data. Available for “personal_details”, “passport”, “driver_license”, “identity_card”, “identity_passport” and “address” types.

    Type

      `telegram.DataCredentials`, optional

  front_side

    Credentials for encrypted document’s front side. Available for “passport”, “driver_license”, “identity_card” and “internal_passport”.

    Type

      `telegram.FileCredentials`, optional

  reverse_side

    Credentials for encrypted document’s reverse side. Available for “driver_license” and “identity_card”.

    Type

      `telegram.FileCredentials`, optional

  selfie

    Credentials for encrypted selfie of the user with a document. Can be available for “passport”, “driver_license”, “identity_card” and “internal_passport”.

    Type

      `telegram.FileCredentials`, optional

  translation

    Credentials for an encrypted translation of the document. Available for “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration” and “temporary_registration”.

    Type

      List[`telegram.FileCredentials`], optional

  files

    Credentials for encrypted files. Available for “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration” and “temporary_registration” types.

    Type

      List[`telegram.FileCredentials`], optional

  classmethod de_json(data, bot)

    See `telegram.TelegramObject.de_json()`.

  to_dict()

    See `telegram.TelegramObject.to_dict()`.