Layer 224
InputFileObj
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 InputFileObj constructor obj := &tg.InputFileObj{ Id: int64(1234567890), Parts: 42, Name: "Hello, World!", Md5Checksum: "Hello, World!", }