MadelineProtoDocs/old_docs/API_docs_v39/constructors/inputPrivacyValueAllowChatParticipants.md

39 lines
855 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02: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|Allowed chat IDs|
### Type: [InputPrivacyRule](../types/InputPrivacyRule.md)
### Example:
```php
$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [int, int]];
```
Or, if you're into Lua:
```lua
inputPrivacyValueAllowChatParticipants={_='inputPrivacyValueAllowChatParticipants', chats={int}}
```