MadelineProtoDocs/docs/API_docs/constructors/inputPrivacyValueAllowChatParticipants.md
2024-05-01 14:53:46 +02:00

30 lines
783 B
Markdown

---
title: "inputPrivacyValueAllowChatParticipants"
description: "Allow only participants of certain chats"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyValueAllowChatParticipants
[Back to constructors index](/API_docs/constructors/index.html)
Allow only participants of certain chats
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chats|Array of [long](/API_docs/types/long.html) | Yes|Allowed chat IDs|
### Type: [InputPrivacyRule](/API_docs/types/InputPrivacyRule.html)
### Example:
```
$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [long, long]];
```