TuBot DocumentationIndex ↑

Custom chat header (headerCustom)

What the TuBot chat header does, why activation sets it, and how to customize it safely.

What it is

headerCustom is the Lightning Web Component that TuBot sets as your messaging deployment’s header during activation. It carries each guest turn from the chat window to your deployment’s secure proxy route, and relays conversation events (ready, pending, created) back to the host page. It also renders the header itself: title, menu, and the end/minimize/close controls.

Do not change it back

Activation sets this header because TuBot cannot work without it. If you replace it with another header, guest messages stop reaching the agent and the echo test goes silent. If chat ever stops replying, confirming the header is still headerCustom is the first troubleshooting step.

Customizing

You can restyle the header’s title, menu, and window controls. Keep the turn-relay behavior intact: the component must still post every guest turn to the deployment’s proxy route and keep the session binding the proxy expects.

Short link: docs.tubot.lat/headerCustom — this is the address activation messages point to.