@humany/widget-chat-plugins
TypeScript icon, indicating that this package has built-in type declarations

1.0.38 • Public • Published

@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));

Readme

Keywords

Package Sidebar

Install

npm i @humany/widget-chat-plugins

Weekly Downloads

3

Version

1.0.38

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

2.62 kB

Total Files

9

Last publish

Collaborators

  • anderslindvalltelia
  • donami
  • bratn
  • totte