Constructor: secureValue

Back to constructors index

Secure value


Name Type Required Description
type SecureValueType Yes Secure passport value type
data SecureData Optional Encrypted Telegram Passport element data
front_side SecureFile Optional Encrypted passport file with the front side of the document
reverse_side SecureFile Optional Encrypted passport file with the reverse side of the document
selfie SecureFile Optional Encrypted passport file with a selfie of the user holding the document
translation Array of SecureFile Optional Translation
files Array of SecureFile Optional Files
plain_data SecurePlainData Optional Plaintext verified passport data
hash bytes Yes Data hash

Type: SecureValue


$secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => SecureFile, 'reverse_side' => SecureFile, 'selfie' => SecureFile, 'translation' => [SecureFile, SecureFile], 'files' => [SecureFile, SecureFile], 'plain_data' => SecurePlainData, 'hash' => 'bytes'];

Or, if you’re into Lua:

secureValue={_='secureValue', type=SecureValueType, data=SecureData, front_side=SecureFile, reverse_side=SecureFile, selfie=SecureFile, translation={SecureFile}, files={SecureFile}, plain_data=SecurePlainData, hash='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.