Skip to main content

Auto Reset Channel

By default the chatbot dispatches RESET_CHANNEL when mounted, giving users a fresh conversation. Disable autoResetChannel to preserve any messages you pass via initMessages — useful for continuing a saved conversation.

Channel Settings

Behavior

Channel will be reset on mount (sends RESET_CHANNEL action). This is the default behavior.

Loading chatbot...

Code Example

<Chatbot
autoResetChannel={false}
initMessages={savedHistory}
{...rest}
/>