Configure ChatBot

To use live chat in an app, call the chatbot method. Enter the screen name which is configured in the panel. Implement the callback function for getting data from chatbot screen to app.

const screenName = 'MyScreen';
NotifyVisitors.startChatBot({ screenName }).then(
  (value) => {
     // Success!
  },
  (reason) => {
    // Error!
  }
);

🚧

Warning

screenNameparameter is Mandatory to run ChatBot.