# updatePrivacy

Privacy rules were changed

No such constructor in the current schema.

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **key** | [PrivacyKey](/type/PrivacyKey.md) | Peers to which the privacy rules apply |
| **rules** | [Vector](/type/Vector%20t)&lt;[PrivacyRule](/type/PrivacyRule.md)&gt; | New privacy rules |

### Type
[Update](/type/Update.md)