telegram api constructor · layer 229 · #33f0ea47

secureCredentialsEncrypted

Encrypted credentials required to decrypt telegram passport data.

definition

secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted;

parameters

nametypedescription
databytesEncrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication, as described in decrypting data »
hashbytesData hash for data authentication as described in decrypting data »
secretbytesSecret, encrypted with the bot's public RSA key, required for data decryption as described in decrypting data »

type

SecureCredentialsEncrypted

history

present in layers 80–229

idlayers
#33f0ea4780–229