MadelineProtoDocs/old_docs/API_docs_v95/constructors/inputSecureValue.md

1.6 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
translation Array of InputSecureFile Optional Translation
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, 'translation' => [InputSecureFile, 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, translation={InputSecureFile}, files={InputSecureFile}, plain_data=SecurePlainData}