void allSectionClick() { FaqConfig.Builder faqBuilder = new FaqConfig.Builder(); ConversationConfig.Builder conversationBuilder = new ConversationConfig.Builder(); faqBuilder.SetShowConversationMoment(ConversationMoment.ALWAYS); conversationBuilder.SetAlwaysShowHumanSupportButtonInBotPage(true); faqBuilder.SetConversationConfig(conversationBuilder.build()); AIHelpSupport.ShowAllFAQSections(faqBuilder.build()); }
void robotClick() { ConversationConfig config = new ConversationConfig.Builder() .SetAlwaysShowHumanSupportButtonInBotPage(true) .SetConversationIntent(ConversationIntent.BOT_SUPPORT) .SetStoryNode("rate message") .build(); AIHelpSupport.ShowConversation(config); }
void manualClick() { ConversationConfig config = new ConversationConfig.Builder() .setWelcomeMessage("You can configure special welcome message for your end users at here.") .SetAlwaysShowHumanSupportButtonInBotPage(false) .SetConversationIntent(ConversationIntent.HUMAN_SUPPORT) .SetStoryNode("") .build(); AIHelpSupport.ShowConversation(); }