@humany/widget-chat-plugins
Chat Plugins for Humany Widgets.
AceChatPlugin
Plugin for integrated chats within Humany widgets using Telia ACE as third-party chat client.
Currently only available for Bot and Floating widgets on implementations running Webprovisions (version 4 or higher).
Contact Humany Support for more information on how to enable the Webprovisions runtime.
Usage in stand-alone setup:
import { AceChatPlugin } from '@humany/widget-chat-plugins';
const settings = {
texts: {
queuingForChat: 'Queuing...',
connectingToChat: 'Connecting to chat...',
chatInProgress: 'Chat in progress...',
endChat: 'End chat',
confirmEndChat: 'Are you sure you want to end the ongoing chat session?',
emailSkipLog: "No, thanks",
emailFormTitle: 'Conversation log',
emailTitle: 'Email address',
emailInvalid: 'Invalid email address',
emailPrompt: 'If you want to have the chat log emailed to you, please enter your email address below.',
emailWillBeSentTo: 'An email will be sent to {{email}}',
},
};
humany.configure(config => config.plugin(AceChatPlugin, settings));