This method returns a boolean variable that depicts whether or not the user has existing chats.
Replies.hasChats()
[LCQReplies 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);
}
);
LCQReplies.HasChats();