MadelineProtoDocs/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md
2019-12-27 17:48:04 +01:00

34 lines
541 B
Markdown

---
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'}
```