You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -231,6 +234,7 @@ Below is a list of available sections along with a brief description for each of
231
234
| chatWindow |`object`| Configuration for the chatbot window. |
232
235
| chatHistory |`object`| Configuration for chatbot chat history. |
233
236
| chatInput |`object`| Configuration for chatbot input. |
237
+
| device |`object`| Configuration for chatbot behavior on different devices. |
234
238
| emoji |`object`| Configuration for chatbot emojis. |
235
239
| event |`object`| Configuration for chatbot events. |
236
240
| fileAttachment |`object`| Configuration for chatbot file attachments. |
@@ -347,6 +351,16 @@ Properties here handle the chat input sent by the user. Note that when chatbot i
347
351
| sendCheckboxOutput |`boolean`| true | Specifies whether to send user selection(s) as a message to the bot. |
348
352
| buttons |`Array<string \| JSX.Element>`|[Button.VOICE_MESSAGE_BUTTON, Button.SEND_MESSAGE_BUTTON]| An ordered list of buttons to show in the chat input (supports both default buttons and custom components) - for the list of default buttons, import the `Button` constant from the library. |
349
353
354
+
### device
355
+
356
+
Properties here handle the chatbot behavior on different devices (e.g. desktop/mobile).
| desktopEnabled |`boolean`| true | Specifies whether the chatbot is enabled for users on desktop. |
361
+
| mobileEnabled |`boolean`| true | Specifies whether the chatbot is enabled for users on mobile. |
362
+
| applyMobileOptimizations |`boolean`| true | Specifies if optimizations should be applied on mobile (e.g. auto fullscreen for better viewing). This option is irrelevant if `mobileEnabled` is false. |
363
+
350
364
### emoji
351
365
352
366
Properties here handle the emoji picker. Note that this feature will be disabled if chat input is disabled.
@@ -419,8 +433,6 @@ Properties here handle general configurations for the chatbot.
419
433
| showInputRow |`boolean`| true | Specifies whether the chat input row should be shown in the chat window. |
420
434
| actionDisabledIcon |`string`| - | The cursor image to display when hovering over an action that is disabled. |
421
435
| embedded |`boolean`| false | Specifies whether the chatbot is embedded in the webpage or accessed through a floating button. Note that notifications feature **will not work** for embedded chat windows. |
422
-
| desktopEnabled |`boolean`| true | Specifies whether the chatbot is enabled for users on desktop. |
423
-
| mobileEnabled |`boolean`| true | Specifies whether the chatbot is enabled for users on mobile. |
424
436
| flowStartTrigger | `string` | "ON_LOAD" | The trigger for starting chatbot flow which includes: <ul><li>`ON_LOAD`:</li> Flow begins on chatbot load<li>`ON_CHATBOT_INTERACT`:</li> Flow begins when user interacts with chatbot<li>`ON_PAGE_INTERACT`:</li> Flow begins when user interacts with page</ul>
0 commit comments