Skip to main content

inputSecureValue

Secure value, for more info see the passport docs »

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

Fields

NameTypeRequiredDescription
TypeSecureValueTypeClassyesSecure passport value type
DataSecureDataEncrypted Telegram Passport element data
FrontSideInputSecureFileClassEncrypted passport file with the front side of the document
ReverseSideInputSecureFileClassEncrypted passport file with the reverse side of the document
SelfieInputSecureFileClassEncrypted passport file with a selfie of the user holding the document
Translation[]InputSecureFileClassArray of encrypted passport files with translated versions of the provided documents
Files[]InputSecureFileClassArray of encrypted passport files with photos the of the documents
PlainDataSecurePlainDataClassPlaintext verified passport data

References