@smooch-ci-web smooch-ci-web released this Aug 29, 2018 · 12 commits to master since this release

Assets 2

What's new?

Multiline User Messages

multiline message

Web Messenger now supports multiline user messages!
In order to add a new line to a message, press Shift+Enter instead of Enter.

Additionally, messages which span longer than one line will also expand the message input up to five lines before enabling scrolling.

Disable Notification Channel Prompt

It is now possible to disable the notification prompt shown after a user's first message via Smooch.init({ notificationChannelPromptEnabled: false }).

Smooch.setPredefinedMessage(message)

A new API Smooch.setPredefinedMessage(message) is available to prefill the user's chat input.

Smooch.showNotificationChannelPrompt()

A new API Smooch.showNotificationChannelPrompt() is available to display the channel linking notification at any time.