1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
secureSecretSettings | Secure secret settings | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureSecretSettings
Secure secret settings
Attributes:
Name | Type | Required | Description |
---|---|---|---|
secure_algo | SecurePasswordKdfAlgo | Yes | Secure algo |
secure_secret | bytes | Yes | Secure secret |
secure_secret_id | long | Yes | Secure secret ID |
Type: SecureSecretSettings
Example:
$secureSecretSettings = ['_' => 'secureSecretSettings', 'secure_algo' => SecurePasswordKdfAlgo, 'secure_secret' => 'bytes', 'secure_secret_id' => long];
PWRTelegram json-encoded version:
{"_": "secureSecretSettings", "secure_algo": SecurePasswordKdfAlgo, "secure_secret": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret_id": long}
Or, if you're into Lua:
secureSecretSettings={_='secureSecretSettings', secure_algo=SecurePasswordKdfAlgo, secure_secret='bytes', secure_secret_id=long}