Create a button to minimize chat window

To create a button to minimize chat window, you have to do the setting below.

■Set rules to run script in Chat bot+.
■Add a choice [Minimize chat window] to the existing Chatbot.

Set rules to run script in Chat bot+

(1)Click the setting button on the upper right of the management page.


(2)Click [Chat]>[Function]>[Chat bot+] on the left side of the screen.


(3)Click [Add parts]


(4)Enter "Part's name" and "Details"
※Leave the box at the top right "ID" empty, it will automatically be filled when Chat bot+ is created.


(5)In the section "Rule", click [Add rules].


(6)In the section "Display rule", click [User's Remark] from the first pull down, enter "Minimize chat window" in the box below, and click [Match] from the third pull down.


(7)In the section "Action", click [Run script] from the pull down.


(8)Enter script below in the box.

ChatplusScript.closeChat();

To end the chat when [Minimize chat window] was clicked, do the additional setting below.
(1)Click [Add actions]


(2)Click [Status] from the first pull down, and click [End] from the second pull down.


(9)Click [Update]

Add a choice [Minimize chat window] to the existing Chatbot

(1)Click the setting button on the upper right of the management page.


(2)Click [Chat]>[Function]>[Chat bot] on the left side of the page.


(3)Click [Edit] of the Chatbot you want to add choice.


(4)Click [Add choices]


(5)Enter "Minimize chat window" in the box appeared.


(6)Click [Update]

シェアする

フォローする

  • RSSを