MadelineProtoDocs/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md
2019-12-27 17:48:04 +01:00

706 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 Users

Type: PrivacyRule

Example:

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

Or, if you're into Lua:

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