MadelineProtoDocs/docs/TD_docs/methods/setPrivacy.md

24 lines
503 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: setPrivacy
description: Changes privacy settings
---
## 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)