Layer 220
InputFile
Defines a file saved in parts using the method upload. save File Part.
constructor
inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Random file identifier created by the client |
| Parts | int | Number of parts saved |
| Name | string | Full name of the file |
| Md5Checksum | string | In case the file's md 5-hash was passed, contents of the file will be checked prior to use |
Returns
InputFileGogram Example
// Creating InputFile constructor obj := &tg.InputFile{ Id: int64(0), Parts: 0, Name: "...", Md5Checksum: "...", }