1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 00:06:55 +01:00
MadelineProto/docs/TD_docs/methods/setPrivacy.md

24 lines
521 B
Markdown
Raw Normal View History

---
title: setPrivacy
description: Changes privacy settings
---
## Method: setPrivacy
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Changes privacy settings
### Parameters:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|key|[CLICK ME PrivacyKey](../types/PrivacyKey.md) | Yes|Privacy key|
|rules|[CLICK ME privacyRules](../constructors/privacyRules.md) | Yes|New privacy rules|
### Return type: [Ok](../types/Ok.md)