How to restrict in messenger?