예제 #1
0
    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();
    }