Link Search Menu Expand Document

Constructor: secureCredentialsEncrypted

Back to constructors index

Encrypted credentials required to decrypt telegram passport data.


databytesYesEncrypted JSON-serialized data with unique user’s payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication, as described in decrypting data »
hashbytesYesData hash for data authentication as described in decrypting data »
secretbytesYesSecret, encrypted with the bot’s public RSA key, required for data decryption as described in decrypting data »

Type: SecureCredentialsEncrypted


$secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'bytes', 'hash' => 'bytes', 'secret' => 'bytes'];