SecureCredentialsEncrypted

class pyrogram.raw.types.SecureCredentialsEncrypted

Encrypted credentials required to decrypt telegram passport data.

Constructor type of SecureCredentialsEncrypted.

Details
  • Layer: 126

  • ID: 0x33f0ea47

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.