1.8 KiB
1.8 KiB
title | description | image |
---|---|---|
inputSecureValue | Secure value | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputSecureValue
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}