Layer 220
SecureFile
Secure passport file, for more info see the passport docs
constructor
secureFile#7d09c27e id:long access_hash:long size:long dc_id:int date:int file_hash:bytes secret:bytes = SecureFile;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | ID |
| AccessHash | long | Access hash |
| Size | long | File size |
| DcId | int | DC ID |
| Date | int | Date of upload |
| FileHash | bytes | File hash |
| Secret | bytes | Secret |
Returns
SecureFileGogram Example
// Creating SecureFile constructor obj := &tg.SecureFile{ Id: int64(0), AccessHash: int64(0), Size: int64(0), DcId: 0, Date: 0, FileHash: []byte{}, // ... more required fields }