Layer 220
constructor
encryptedFile#a8008cd8 id:long access_hash:long size:long dc_id:int key_fingerprint:int = EncryptedFile;

Parameters

Name Type Description
Id long File ID
AccessHash long Checking sum depending on user ID
Size long File size in bytes
DcId int Number of data center
KeyFingerprint int 32-bit fingerprint of key used for file encryption

Returns

EncryptedFile

Gogram Example

// Creating EncryptedFile constructor
obj := &tg.EncryptedFile{
    Id: int64(0),
    AccessHash: int64(0),
    Size: int64(0),
    DcId: 0,
    KeyFingerprint: 0,
}