MadelineProtoDocs/docs/API_docs/constructors/secureValueErrorSelfie.md

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