1. Webchat
  2. Webchat Template

Webchat

Webchat Template

Explains Webchat template setup through the two required contexts: create context and default context. Useful for initializing new conversations and managing ongoing chat interactions tied to stubs.

Handling webchat interactions requires two contexts in your template:

  1. Create Context: Handles the initial connection and creates a new stub for each conversation
  2. Default Context: Manages the ongoing conversation and processes user messages