MadelineProtoDocs/old_docs/API_docs_v4/constructors/inputPrivacyValueAllowContacts.md

34 lines
541 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
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'}
```