Layer 224
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

InputSecureFile

Gogram Example

// Creating InputSecureFileUploaded constructor
obj := &tg.InputSecureFileUploaded{
    Id: int64(1234567890),
    Parts: 42,
    Md5Checksum: "Hello, World!",
    FileHash: []byte{0x01, 0x02, 0x03},
    Secret: []byte{0x01, 0x02, 0x03},
}