We use Observer Listener Design pattern. You will need to read the documentation to understand how to use those listeners.
The Notification Listerners has a method named onChatReceived() which will be invoked when a message is received from another player. To send a message you will need to call sendChat() method.
For more details follow our documentation
http://appwarp.shephertz.com/game-development-center/