24 lines
532 B
Markdown
24 lines
532 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 | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|key|[PrivacyKey](../types/PrivacyKey.md) | Yes|Privacy key|
|
|
|
|
|
|
### Return type: [PrivacyRules](../types/PrivacyRules.md)
|
|
|