MessageToolbarSettings

23 Sep 20251 minute to read

Configures the toolbar displayed on each message in the Chat UI component.

Properties

items ToolbarItemModel[]

Specifies the collection of toolbar items in the message toolbar of the Chat UI component.
Represents an array of items that are rendered in the toolbar, allowing for customization and interaction within the response section.

Defaults to null

width string|number

Specifies the width of the message toolbar in the Chat UI component.
Represents the width of the toolbar, which can be defined using various CSS units and values such as ‘auto’, ‘100%’, or pixel-based measurements.

Defaults to ‘100%’

Events

itemClicked EmitType<MessageToolbarItemClickedEventArgs>

Event raised when a toolbar item is clicked in the message toolbar of the Chat UI component.