24 lines
534 B
Markdown

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