MadelineProtoDocs/docs/API_docs/constructors/inputSecureValue.md

1.7 KiB

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

Constructor: inputSecureValue

Back to constructors index

Attributes:

Name Type Required
type SecureValueType Yes
data SecureData Optional
front_side InputSecureFile Optional
reverse_side InputSecureFile Optional
selfie InputSecureFile Optional
files Array of InputSecureFile Optional
plain_data SecurePlainData Optional

Type: InputSecureValue

Example:

$inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => InputSecureFile, 'reverse_side' => InputSecureFile, 'selfie' => InputSecureFile, 'files' => [InputSecureFile, InputSecureFile], 'plain_data' => SecurePlainData];

PWRTelegram json-encoded version:

{"_": "inputSecureValue", "type": SecureValueType, "data": SecureData, "front_side": InputSecureFile, "reverse_side": InputSecureFile, "selfie": InputSecureFile, "files": [InputSecureFile], "plain_data": SecurePlainData}

Or, if you're into Lua:

inputSecureValue={_='inputSecureValue', type=SecureValueType, data=SecureData, front_side=InputSecureFile, reverse_side=InputSecureFile, selfie=InputSecureFile, files={InputSecureFile}, plain_data=SecurePlainData}