Skip to content

Set Main Widget Node

Events/Chat

Shows or replaces the chat's main widget beside the messages. Connect an Instantiate Widget reference; element nodes can update the displayed widget.

events_chat_set_main_widgetdataEvent callback
Inputs4
Outputs1
Security exposureUnrated
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

4

Input

Execution
exec_in

Initiate Execution

Widget

Struct
element_ref

Widget instance to display (from Instantiate Widget)

ElementRefElementRef5 fields
idstringrequired

Identifier of the element or widget instance.

instanceIdstring | null

Instance the element lives in. Absent for elements addressed directly.

widgetIdstring | null

Widget this instance was created from.

surfaceIdstring | null

Surface the element is rendered on.

componentvalue

The component itself, whose props are defined by the component type.

Title

String
title

Title shown above the main widget

Default Main widget

Display

String
display

Open beside the chat, collapse the pane, or maximize it

Default open
opencollapsedmaximized

Output Pins

1

Output

Execution
exec_out

Done with the Execution

Node Info

Internal name
events_chat_set_main_widget
Category
Events/Chat