How to make only a group of users can send messages to staff

See Beginner’s Guide to Creating Discourse Plugins - Part 1