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(previousChats=> { 
  if (previousChats) {
    // Has chats
  } else {
    // Doesn't have chats
  }
});
cordova.plugins.replies.hasChats(successCb, errorCb)
IBGReplies.HasChats();
Replies.hasChats(Function function);