MadelineProtoDocs/old_docs/API_docs_v102/constructors/inputPrivacyValueAllowChatParticipants.md

39 lines
844 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: inputPrivacyValueAllowChatParticipants
2019-12-27 17:48:04 +01:00
description: Allow only participants of certain chats
2019-06-24 15:45:02 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyValueAllowChatParticipants
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Allow only participants of certain chats
2019-06-24 15:45:02 +02:00
### 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}}
```