Skip to main content

secureValue

Secure value

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

Fields

NameTypeRequiredDescription
TypeSecureValueTypeClassyesSecure passport value type
DataSecureDataEncrypted Telegram Passport element data
FrontSideSecureFileClassEncrypted passport file with the front side of the document
ReverseSideSecureFileClassEncrypted passport file with the reverse side of the document
SelfieSecureFileClassEncrypted passport file with a selfie of the user holding the document
Translation[]SecureFileClassArray of encrypted passport files with translated versions of the provided documents
Files[]SecureFileClassArray of encrypted passport files with photos the of the documents
PlainDataSecurePlainDataClassPlaintext verified passport data
Hash[]byteyesData hash

Returned by

References