MadelineProtoDocs/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md
2018-07-12 20:24:55 +02:00

1.1 KiB

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

Constructor: secureValueErrorSelfie

Back to constructors index

Attributes:

Name Type Required
type SecureValueType Yes
file_hash bytes Yes
text string Yes

Type: SecureValueError

Example:

$secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];

PWRTelegram json-encoded version:

{"_": "secureValueErrorSelfie", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}

Or, if you're into Lua:

secureValueErrorSelfie={_='secureValueErrorSelfie', type=SecureValueType, file_hash='bytes', text='string'}