How can we disable personal chats for group users but allow them to send messages and read messages of group

I am able to restrict user to user PM
But that way user are not able to see group messages
they gets notification but no Inbox where they can see all group messages