inputFile
Defines a file saved in parts using the method upload.saveFilePart.
type tg.InputFile struct { /* ... */ }
Implements InputFile.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ID | int64 | yes | Random file identifier created by the client |
Parts | int | yes | Number of parts saved |
Name | string | yes | Full name of the file |
MD5Checksum | string | yes | In case the file's md5-hash was passed, contents of the file will be checked prior to use |
References
- Official documentation
- Generated Go reference
- TL definition:
inputFile#f52ff27f