Skip to main content

inputFile

Defines a file saved in parts using the method upload.saveFilePart.

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

Implements InputFile.

Fields

NameTypeRequiredDescription
IDint64yesRandom file identifier created by the client
PartsintyesNumber of parts saved
NamestringyesFull name of the file
MD5ChecksumstringyesIn case the file's md5-hash was passed, contents of the file will be checked prior to use

References