SecureCredentialsEncrypted

class pyrogram.raw.types.SecureCredentialsEncrypted

Encrypted credentials required to decrypt telegram passport data.

Constructor of SecureCredentialsEncrypted.

Details:
  • Layer: 194

  • ID: 33F0EA47

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

  • hash (bytes) – Data hash for data authentication as described in decrypting data »

  • secret (bytes) – Secret, encrypted with the bot’s public RSA key, required for data decryption as described in decrypting data »