Enumeration ViewChangeReason

The possible reasons why the view may be changed.

Enumeration Members

CALLED_CHANGE_VIEW: "calledChangeView"

Indicates the view was changed by a call to ChatInstance.changeView.

CALLED_CLOSE_WINDOW: "calledCloseWindow"

Indicates the main window was closed by a call to ChatInstance.closeWindow or ChatInstance.toggleOpen.

CALLED_END_TOUR: "calledEndTour"

Indicates the ChatInstance.tours.endTour method was used to close a tour.

CALLED_OPEN_WINDOW: "calledOpenWindow"

Indicates the main window was opened by a call to ChatInstance.openWindow or ChatInstance.toggleOpen.

CALLED_RESTART_CONVERSATION: "calledRestartConversation"

Indicates the ChatInstance.restartConversation method was used while a tour was visible.

CALLED_START_TOUR: "calledStartTour"

Indicates a tour was started by the startTour instance method.

CHANNEL_TRANSFER: "channelTransfer"

Indicates the main window is being opened as a result of a channel transfer.

LAUNCHER_CLICKED: "launcherClicked"

Indicates the user clicked on our built-in launcher button that opened either a tour or the main window.

LINK_ID: "linkID"

Indicates the main window was opened because a link ID was found that started a specific conversation.

MAIN_WINDOW_CLOSED_AND_RESTARTED: "mainWindowClosedAndRestarted"

Indicates the user clicked the close and restart button that minimized to the launcher.

MAIN_WINDOW_MINIMIZED: "mainWindowMinimized"

Indicates the user clicked on our built-in minimize button that closed to either the launcher or a tour.

SESSION_HISTORY: "sessionHistory"

Indicates the view is trying to change after loading session history.

TOUR_CARD_RESTARTED_TOUR: "tourCardRestartedTour"

Indicates a tour was restarted by the restart button in the main window.

TOUR_CARD_RESUMED_TOUR: "tourCardResumedTour"

Indicates a tour was resumed by the resume button in the main window.

TOUR_CARD_STARTED_TOUR: "tourCardStartedTour"

Indicates a tour was started by the start tour button in the main window.

TOUR_CLOSED: "tourClosed"

Indicates the close button was used to close a tour.

TOUR_DONE: "tourDone"

Indicates the done button was used to close a tour.

TOUR_MINIMIZED: "tourMinimized"

Indicates the user clicked on the minimize button within the tour to close to the launcher.

TOUR_OPENED_OTHER_VIEW: "tourOpenedOtherView"

Indicates the main window was opened from a tour.

TOUR_SKIP_CARD: "tourSkipCard"

Indicates a tour was started by a tour response type that included the 'skip_card' flag.

WEB_CHAT_LOADED: "webChatLoaded"

Indicates the web chat has loaded for the first time and a view is trying to open. If openChatByDefault is true then the main window will be trying to open, otherwise the launcher will be trying to open.

MMNEPVFCICPMFPCPTTAAATR