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

714 B

title description image
privacyValueAllowUsers Allow only certain users https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: privacyValueAllowUsers

Back to constructors index

Allow only certain users

Attributes:

Name Type Required Description
users Array of int Yes Allowed users

Type: PrivacyRule

Example:

$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]];

Or, if you're into Lua:

privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}}