---
title: privacyValueDisallowContacts
description: Disallow only contacts
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyValueDisallowContacts  
[Back to constructors index](index.md)



Disallow only contacts




### Type: [PrivacyRule](../types/PrivacyRule.md)


### Example:

```php
$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts'];
```  


Or, if you're into Lua:

```lua
privacyValueDisallowContacts={_='privacyValueDisallowContacts'}

```