Layer 220
InputSecureFileUploaded
Uploaded secure file, for more info see the passport docs
constructor
inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Secure file ID |
| Parts | int | Secure file part count |
| Md5Checksum | string | MD 5 hash of encrypted uploaded file, to be checked server-side |
| FileHash | bytes | File hash |
| Secret | bytes | Secret |
Returns
InputSecureFileGogram Example
// Creating InputSecureFileUploaded constructor obj := &tg.InputSecureFileUploaded{ Id: int64(0), Parts: 0, Md5Checksum: "...", FileHash: []byte{}, Secret: []byte{}, }