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

1.8 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];

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}