MadelineProtoDocs/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md
2020-09-12 12:47:38 +02:00

822 B

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

Constructor: inputPrivacyValueAllowUsers

Back to constructors index

Allow only certain users

Attributes:

Name Type Required Description
users Array of Username, chat ID, Update, Message or InputUser Yes Allowed users

Type: InputPrivacyRule

Example:

$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]];

Or, if you're into Lua:

inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}}