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

850 B

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

Constructor: inputPrivacyValueDisallowUsers

Back to constructors index

Disallow only certain users

Attributes:

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

Type: InputPrivacyRule

Example:

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

Or, if you're into Lua:

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