Check for Existing Chats

This method returns a boolean variable that depicts whether or not the user has existing chats.

Replies.hasChats()
[IBGReplies hasChats];
Replies.hasChats();
Replies.hasChats()
Replies.hasChats(previousChats=> { 
  if(previousChats) {
    // Has chats
  } else {
    // Doesn't have chats
  }
});
final hasChats = Replies.hasChats();
Replies.hasChats(
  function () {
        console.log('Chat Exists');
  },
  function (error) {
        console.log('Has Chats could not be called ' + error);
  }
);
IBGReplies.HasChats();