Skip to main content

inputSecureFileUploaded

Uploaded secure file, for more info see the passport docs »

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

Implements InputSecureFile.

Fields

NameTypeRequiredDescription
IDint64yesSecure file ID
PartsintyesSecure file part count
MD5ChecksumstringyesMD5 hash of encrypted uploaded file, to be checked server-side
FileHash[]byteyesFile hash
Secret[]byteyesSecret

References