Constructor: inputPrivacyValueAllowUsers

Back to constructors index

Allow only certain users


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

Type: InputPrivacyRule


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.