# updatePrivacy

Privacy rules were changed

```tl
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
```

### 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)