First, the players need to be in a room joined togethter. There after they can use sendChat() method to exchange messages. sendChat() method sends a string message. To send a binary message you will need to call sendUpdatePeers() method. All players will receive the chats sent to them through notification listener in onChatReceived() method
Please follow our documentation
http://appwarp.shephertz.com/game-development-center/