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, *, api_kwargs=None)[source]

Bases: telegram.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.

Parameters:
personal_details[source]

Optional. Credentials for encrypted personal details.

Type:

telegram.SecureValue

passport[source]

Optional. Credentials for encrypted passport.

Type:

telegram.SecureValue

internal_passport[source]

Optional. Credentials for encrypted internal passport.

Type:

telegram.SecureValue

driver_license[source]

Optional. Credentials for encrypted driver license.

Type:

telegram.SecureValue

identity_card[source]

Optional. Credentials for encrypted ID card

Type:

telegram.SecureValue

address[source]

Optional. Credentials for encrypted residential address.

Type:

telegram.SecureValue

utility_bill[source]

Optional. Credentials for encrypted utility bill.

Type:

telegram.SecureValue

bank_statement[source]

Optional. Credentials for encrypted bank statement.

Type:

telegram.SecureValue

rental_agreement[source]

Optional. Credentials for encrypted rental agreement.

Type:

telegram.SecureValue

passport_registration[source]

Optional. Credentials for encrypted registration from internal passport.

Type:

telegram.SecureValue

temporary_registration[source]

Optional. Credentials for encrypted temporary registration.

Type:

telegram.SecureValue

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().