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

1.1 KiB

title description image
secureValueErrorSelfie Secure value error selfie https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueErrorSelfie

Back to constructors index

Secure value error selfie

Attributes:

Name Type Required Description
type SecureValueType Yes Type
file_hash bytes Yes File hash
text string Yes Text

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