Creating Plot Twists
    Preparing search index...

    Type Alias ChatEndReason

    ChatEndReason: "user" | "cap" | "error" | "disconnect"

    Why a chat session stopped.

    Type Declaration

    • "user"

      The user ended it deliberately.

    • "cap"

      The session hit its duration cap.

    • "error"

      The agent or the platform failed.

    • "disconnect"

      The user's client went away and did not come back.