Skip to main content

@wildix/xbees-kite-client > Widget

Widget interface

Signature:

export interface Widget 

Properties

Property

Modifiers

Type

Description

appearance?

WidgetAppearance | undefined

(Optional) The appearance configuration allows you to customize colors and text settings.

company

string

createdAt

string

id

string

name

string

routes?

(WidgetRoute)[] | undefined

(Optional) A list of routes that define different routing rules for the widget. Each route specifies a set of rules and a target to direct the interaction.

target

WidgetTarget

The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.

updatedAt?

string | undefined

(Optional)

welcomeMessages?

(WidgetWelcomeMessage)[] | undefined

(Optional) A list of welcome messages that will be sent to the user when they first interact with the widget.