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
Copy file name to clipboardExpand all lines: readme/configuration.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -257,6 +257,32 @@ key: `features`
257
257
| sendBoxInputBorder | boolean || 1px solid border around input box with `borderColor`|
258
258
| embedded | boolean || Allows the webchat plugin to be embedded directly into a webview. Embeded plugin does not have header and may not be opened/closed.|
259
259
260
+
### Rules that allow to customize behaviour of the plugin based on certain criteria.
261
+
262
+
key `rules`
263
+
264
+
This is defined as array of the following objects. First rule matching applies others are ignored
|**domain**| string, Array of string || Required. Defines url of the domain this rule applies to. It is defined as string. If the string starts with "/" character, it is applied only to url path without hostName, otherwise it applies to hostname and path. Url is tested to start with given string, case ignored. multiple urls can be specified with array. |
270
+
| disable | boolean | false | Disables webchat functionality, webchat will not initialize/render. |
0 commit comments