Suggestions

close search

Real-time updates

Real-time updates are the most important part of building an instant chat messaging application. Stringee provides very simple methods to register and listen for events.

You need to implement the onObjectChange event to get Conversations and Messages updates.

stringeeChat.on('onObjectChange', function (info) {
    console.log('RECEIVED ONOBJECTCHANGE EVENT' + JSON.stringify(info));
});

In which: