MadelineProtoDocs/docs/API_docs/constructors/secureCredentialsEncrypted.md

1.1 KiB

title description image
secureCredentialsEncrypted secureCredentialsEncrypted attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureCredentialsEncrypted

Back to constructors index

Attributes:

Name Type Required
data bytes Yes
hash bytes Yes
secret bytes Yes

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'}