telegram.SecureValue#
- class telegram.SecureValue(*args, **kwargs)[source]#
Bases:
telegram.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[source]#
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[source]#
Credentials for encrypted document’s front side. Available for “passport”, “driver_license”, “identity_card” and “internal_passport”.
- Type
telegram.FileCredentials
, optional
- reverse_side[source]#
Credentials for encrypted document’s reverse side. Available for “driver_license” and “identity_card”.
- Type
telegram.FileCredentials
, optional
- selfie[source]#
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[source]#
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[source]#
Credentials for encrypted files. Available for “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration” and “temporary_registration” types.
- Type
List[
telegram.FileCredentials
], optional