MadelineProtoDocs/old_docs/API_docs_v109/constructors/inputPrivacyValueAllowChatParticipants.md

39 lines
844 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: inputPrivacyValueAllowChatParticipants
description: Allow only participants of certain chats
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyValueAllowChatParticipants
[Back to constructors index](index.md)
Allow only participants of certain chats
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chats|Array of [int](../types/int.md) | Yes|Chats|
### Type: [InputPrivacyRule](../types/InputPrivacyRule.md)
### Example:
```php
$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [int, int]];
```
Or, if you're into Lua:
```lua
inputPrivacyValueAllowChatParticipants={_='inputPrivacyValueAllowChatParticipants', chats={int}}
```