telegram.SecureData

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

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