1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
secureCredentialsEncrypted | Encrypted credentials required to decrypt [telegram passport](https://core.telegram.org/passport) data. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureCredentialsEncrypted
Encrypted credentials required to decrypt telegram passport data.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
data | bytes | Yes | 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 | Yes | Data hash for data authentication as described in decrypting data » |
secret | bytes | Yes | Secret, encrypted with the bot's public RSA key, required for data decryption as described in decrypting data » |
Type: SecureCredentialsEncrypted
Example:
$secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'bytes', 'hash' => 'bytes', 'secret' => 'bytes'];
Or, if you're into Lua:
secureCredentialsEncrypted={_='secureCredentialsEncrypted', data='bytes', hash='bytes', secret='bytes'}