Show Replies List for Cordova

Learn how to manually show the replies page to the users here in your Cordova apps.

Show Replies

The below API can be used to display the replies page. This page contains a list of any previous chats that were opened for this customer.

Replies.show();
1040

Check if User Has Chats

If a user has no pre-existing chats, the previous API won't show the replies page. You can check whether the user has any available chats or not using the below API.

Replies.hasChats(
  function () {
 		console.log('Chat Exists');
  },
  function (error) {
 		console.log('Has Chats could not be called ' + error);
  }
);