telegram.FileCredentials#

class telegram.FileCredentials(*args, **kwargs)[source]#

Bases: telegram.TelegramObject

These credentials can be used to decrypt encrypted files from the front_side, reverse_side, selfie and files fields in EncryptedPassportData.

Parameters
hash[source]#

Checksum of encrypted file

Type

str

secret[source]#

Secret of encrypted file

Type

str

to_dict()[source]#

See telegram.TelegramObject.to_dict().