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



Allow only contacts




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


### Example:

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


Or, if you're into Lua:

```lua
inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'}

```