Skip to content

Commit

Permalink
Release 4.29.11
Browse files Browse the repository at this point in the history
  • Loading branch information
smooch-ci-web committed May 11, 2020
1 parent 914af92 commit 9fa7e9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ The list of localizable strings. These strings can be modified. _If an option is

| Option | Optional? | Default value | Description |
| ------------------ | --------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| avatarUrl | Yes | `undefined` | Sets the URL of the avatar to use for the automatic reply to the prechat capture messages. |
| enabled | Yes | `false` | Enables the prechat capture experience. |
| enableEmailLinking | Yes | `true` | Automatically links the user's email to the app's Mailgun integration if it exists. If the property `fields` is defined, the first field of type `email` will be used. |
| fields | Yes | - | Overrides the default Prechat Capture [fields](https://docs.smooch.io/rest/#field) to define a [custom form](https://docs.smooch.io/guide/web-messenger/#custom-prechat-capture). |
Expand Down Expand Up @@ -293,6 +294,7 @@ var skPromise = Smooch.init({
fixedIntroPane: false,

prechatCapture: {
avatarUrl: 'http://domain.com/images/avatar.png',
enabled: true,
enableEmailLinking: true,
fields: [
Expand Down
Loading

0 comments on commit 9fa7e9f

Please sign in to comment.