telegram.SecureData

class telegram.SecureData(*args, **kwargs)[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.

personal_details[source]

Credentials for encrypted personal details.

Type

telegram.SecureValue, optional

passport[source]

Credentials for encrypted passport.

Type

telegram.SecureValue, optional

internal_passport[source]

Credentials for encrypted internal passport.

Type

telegram.SecureValue, optional

driver_license[source]

Credentials for encrypted driver license.

Type

telegram.SecureValue, optional

identity_card[source]

Credentials for encrypted ID card

Type

telegram.SecureValue, optional

address[source]

Credentials for encrypted residential address.

Type

telegram.SecureValue, optional

utility_bill[source]

Credentials for encrypted utility bill.

Type

telegram.SecureValue, optional

bank_statement[source]

Credentials for encrypted bank statement.

Type

telegram.SecureValue, optional

rental_agreement[source]

Credentials for encrypted rental agreement.

Type

telegram.SecureValue, optional

passport_registration[source]

Credentials for encrypted registration from internal passport.

Type

telegram.SecureValue, optional

temporary_registration[source]

Credentials for encrypted temporary registration.

Type

telegram.SecureValue, optional

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().