MadelineProtoDocs/old_docs/API_docs_v81/constructors/inputSecureValue.md

1.5 KiB

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

Constructor: inputSecureValue

Back to constructors index

Secure value

Attributes:

Name Type Required Description
type SecureValueType Yes Type
data SecureData Optional Data
front_side InputSecureFile Optional Front side
reverse_side InputSecureFile Optional Reverse side
selfie InputSecureFile Optional Selfie
files Array of InputSecureFile Optional Files
plain_data SecurePlainData Optional Plain data

Type: InputSecureValue

Example:

$inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => InputSecureFile, 'reverse_side' => InputSecureFile, 'selfie' => InputSecureFile, 'files' => [InputSecureFile, 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}