Layer 220
InputEncryptedFileUploaded
Sets new encrypted file saved by parts using upload. save File Part method.
constructor
inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Random file ID created by client |
| Parts | int | Number of saved parts |
| Md5Checksum | string | In case md 5-HASH of the (already encrypted) file was transmitted, file content will be checked prior to use |
| KeyFingerprint | int | 32-bit fingerprint of the key used to encrypt a file |
Returns
InputEncryptedFileGogram Example
// Creating InputEncryptedFileUploaded constructor obj := &tg.InputEncryptedFileUploaded{ Id: int64(0), Parts: 0, Md5Checksum: "...", KeyFingerprint: 0, }