HomeDocumentationAPI Reference
Getting StartedAPI ReferenceDashboardHelp Center
API Reference

Check for Existing Chats

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();