GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.45.0
  • Code samples
  • GitHub

updateChatState()

Home > @gooddata/sdk-pluggable-application-model > IHostUiMountHandle > updateChatState

IHostUiMountHandle.updateChatState() method

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Pushes the host-owned AI assistant chat state into the host UI.

Signature:

updateChatState?(state: {
        showChatItem: boolean;
        isOpen: boolean;
    }): void;

Parameters

Parameter

Type

Description

state

{ showChatItem: boolean; isOpen: boolean; }

Returns:

void

Remarks

The chat itself is owned by the host runtime; this lets the UI module reflect it — show/hide the header chat button (showChatItem, gated by feature flag, permissions and a runtime LLM availability probe) and reflect its open-state for active styling. Called after mount and on every change.

  • IHostUiMountHandle.updateChatState() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use