Modules
moistartoptions
2min
Ƭ MoiStartOptions: Object
Name | Type | Description |
---|---|---|
mode? | MoiChatModes | The mode to use. If undefined will use the default Moi mode |
onAction? | (action: MoiActionsMessage["actions"]["actions"][number]) => boolean | void | Action listener for actions |
onMessage? | () => void | Called when a message is received from Moi |
onRedirect? | (url: string) => void | Custom redirect handler |
pqaWidgetId? | string | PQA widgetId for the PQA application |
productId? | string | productId for the PQA application |
settings? | { alwaysStartConversation?: boolean ; configOverride?: KlevuConfig } | - |
settings.alwaysStartConversation? | boolean | Always sends the initial message to Moi even if there are no messages stored for that case |
settings.configOverride? | Override the config | |
url? | string | URL for the PQA application |
Updated 25 Mar 2024
Did this page help you?