Skip to main content

inputSecureValue

Secure value, for more info see the passport docs »

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

Fields​

NameTypeRequiredDescription
TypeSecureValueTypeClassyesSecure passport value type
DataSecureData—Encrypted Telegram Passport element data
FrontSideInputSecureFileClass—Encrypted passport file with the front side of the document
ReverseSideInputSecureFileClass—Encrypted passport file with the reverse side of the document
SelfieInputSecureFileClass—Encrypted passport file with a selfie of the user holding the document
Translation[]InputSecureFileClass—Array of encrypted passport files with translated versions of the provided documents
Files[]InputSecureFileClass—Array of encrypted passport files with photos the of the documents
PlainDataSecurePlainDataClass—Plaintext verified passport data

References​