Configure ChatBot

To configure chatbot in your app, use the below code snippet:

NotifyVisitorsApi.getInstance(this).startChatBot(screenName, new OnNotifyBotClickListener() {
    @Override
    public void onInAppRedirection(JSONObject data) {
        //do your work here
    }
});

In the above function, you need to pass an attribute screenName, which you have set in NotifyVisitors' panel.

🚧

Warning

screenNameparameter is Mandatory to run ChatBot.