Link Search Menu Expand Document

Constructor: inputSecureValue

Back to constructors index

Secure value, for more info see the passport docs »

Attributes:

NameTypeRequiredDescription
typeSecureValueTypeYesSecure passport value type
dataSecureDataOptionalEncrypted Telegram Passport element data
front_sideInputSecureFileOptionalEncrypted passport file with the front side of the document
reverse_sideInputSecureFileOptionalEncrypted passport file with the reverse side of the document
selfieInputSecureFileOptionalEncrypted passport file with a selfie of the user holding the document
translationArray of InputSecureFileOptionalArray of encrypted passport files with translated versions of the provided documents
filesArray of InputSecureFileOptionalArray of encrypted passport files with photos the of the documents
plain_dataSecurePlainDataOptionalPlaintext verified passport 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];