Layer 224
constructor
secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData;

Parameters

Name Type Description
Data bytes Data
DataHash bytes Data hash
Secret bytes Secret

Returns

SecureData

Gogram Example

// Creating SecureDataObj constructor
obj := &tg.SecureDataObj{
    Data: []byte{0x01, 0x02, 0x03},
    DataHash: []byte{0x01, 0x02, 0x03},
    Secret: []byte{0x01, 0x02, 0x03},
}