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

1.2 KiB

title description image
secureCredentialsEncrypted Secure credentials encrypted https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureCredentialsEncrypted

Back to constructors index

Secure credentials encrypted

Attributes:

Name Type Required Description
data bytes Yes Data
hash bytes Yes Hash
secret bytes Yes Secret

Type: SecureCredentialsEncrypted

Example:

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

PWRTelegram json-encoded version:

{"_": "secureCredentialsEncrypted", "data": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

secureCredentialsEncrypted={_='secureCredentialsEncrypted', data='bytes', hash='bytes', secret='bytes'}