EncryptedCredentials¶
- class litegram.types.encrypted_credentials.EncryptedCredentials(*, data: str, hash: str, secret: str, **extra_data: Any)[source]¶
Describes data required for decrypting and authenticating
litegram.types.encrypted_passport_element.EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.Source: https://core.telegram.org/bots/api#encryptedcredentials
- data: str¶
Base64-encoded encrypted JSON-serialized data with unique user’s payload, data hashes and secrets required for
litegram.types.encrypted_passport_element.EncryptedPassportElementdecryption and authentication