Skip to main content

secureValue

Secure value

type tg.SecureValue struct { /* ... */ }

Fields​

NameTypeRequiredDescription
TypeSecureValueTypeClassyesSecure passport value type
DataSecureData—Encrypted Telegram Passport element data
FrontSideSecureFileClass—Encrypted passport file with the front side of the document
ReverseSideSecureFileClass—Encrypted passport file with the reverse side of the document
SelfieSecureFileClass—Encrypted passport file with a selfie of the user holding the document
Translation[]SecureFileClass—Array of encrypted passport files with translated versions of the provided documents
Files[]SecureFileClass—Array of encrypted passport files with photos the of the documents
PlainDataSecurePlainDataClass—Plaintext verified passport data
Hash[]byteyesData hash

Returned by​

References​