MadelineProtoDocs/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md

43 lines
864 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: inputPrivacyValueDisallowUsers
description: inputPrivacyValueDisallowUsers attributes, type and example
---
## Constructor: inputPrivacyValueDisallowUsers
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|users|Array of [Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Yes|
### Type: [InputPrivacyRule](../types/InputPrivacyRule.md)
### Example:
```
$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]}
```
Or, if you're into Lua:
```
inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}}
```