Is there an api call that will update me when a new post has been received by the server so I can display it to the relevant recipients?
If not, how can I tell when a user has sent a message so that I can add his message to the screen?
Can I get an example on how to use websockets?