MadelineProtoDocs/docs/TD_docs/methods/setPrivacy.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

25 lines
576 B
Markdown

---
title: setPrivacy
description: Changes privacy settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: setPrivacy
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Changes privacy settings
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|key|[PrivacyKey](../types/PrivacyKey.md) | Yes|Privacy key|
|rules|[privacyRules](../constructors/privacyRules.md) | Yes|New privacy rules|
### Return type: [Ok](../types/Ok.md)