PHP Ratchet chat, user is typing system and private messages

Grout Hover

I create a php chat with ratchet , and I want to create a system ( user is typing ) . if you can help me thank you. I also want to create private messages ( between two users ) and I do not really know how. Thank you.

Citation Code