Layer 224
SecureDataObj
Secure passport data, for more info see the passport docs
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
SecureDataGogram Example
// Creating SecureDataObj constructor obj := &tg.SecureDataObj{ Data: []byte{0x01, 0x02, 0x03}, DataHash: []byte{0x01, 0x02, 0x03}, Secret: []byte{0x01, 0x02, 0x03}, }