SecureCredentialsEncrypted
- class pyrogram.raw.types.SecureCredentialsEncrypted
Encrypted credentials required to decrypt telegram passport data.
Constructor of
SecureCredentialsEncrypted.- Details:
Layer:
223ID:
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 »
TL Schema
secureCredentialsEncrypted#33f0ea47
data:bytes
hash:bytes
secret:bytes
= SecureCredentialsEncrypted
Parameter Tree
SecureCredentialsEncrypted
├── data →
bytes├── hash →
bytes└── secret →
bytesExample
SecureCredentialsEncrypted(
data=b"data",
hash=b"data",
secret=b"data",
)