MadelineProtoDocs/old_docs/API_docs_v5/constructors/privacyValueDisallowUsers.md

39 lines
741 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: privacyValueDisallowUsers
description: Disallow only certain users
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyValueDisallowUsers
[Back to constructors index](index.md)
Disallow only certain users
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|users|Array of [int](../types/int.md) | Yes|Disallowed users|
### Type: [PrivacyRule](../types/PrivacyRule.md)
### Example:
```php
$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]];
```
Or, if you're into Lua:
```lua
privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}}
```