SecureCredentialsEncrypted#

class pyrogram.raw.types.SecureCredentialsEncrypted#

Encrypted credentials required to decrypt telegram passport data.

Constructor of SecureCredentialsEncrypted.

Details:
  • Layer: 158

  • ID: 33F0EA47

Parameters:
  • data (bytes) – Encrypted JSON-serialized data with unique user’s payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication.

  • hash (bytes) – Data hash for data authentication.

  • secret (bytes) – Secret, encrypted with the bot’s public RSA key, required for data decryption.