MadelineProtoDocs/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowChatParticipants.md
2020-06-16 17:50:25 +02:00

855 B

title description image
inputPrivacyValueAllowChatParticipants Allow only participants of certain chats https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPrivacyValueAllowChatParticipants

Back to constructors index

Allow only participants of certain chats

Attributes:

Name Type Required Description
chats Array of int Yes Allowed chat IDs

Type: InputPrivacyRule

Example:

$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [int, int]];

Or, if you're into Lua:

inputPrivacyValueAllowChatParticipants={_='inputPrivacyValueAllowChatParticipants', chats={int}}