MadelineProtoDocs/docs/API_docs/constructors/secureSecretSettings.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
secureSecretSettings Secure secret settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureSecretSettings

Back to constructors index

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}