0.2.15 • Published 6 years ago
wa-chat-server-mluvii v0.2.15
wa-chat-server-mluvii
wa-chat-server adapter for the Mluvii client.
Adapter Registration
The initialization of the wa-chat-server with a registered wa-chat-server-mluvii adapter looks like this:
import { WAChatServer, Types } from 'wa-chat-server';
import { WAChatServerMluvii } from 'wa-chat-server-mluvii';
const server = new WAChatServer(
(process.env as any) as Types.IWAChatServerConfig
);
server.addAdapter('mluvii', WAChatServerMluvii);
server.serve();Configuration
The configuration is part of the wa-chat-server configuration where the keys relevant for
wa-chat-server-mluvii have to be prefixed with adapter.mluvii..
username- User name for authentication for the Mluvii public API.secret- Password used authentication for the Mluvii public API.getTokenUrl- URL of the Mluvii API for fetching the JWT (defaults tohttps://app.mluvii.com/login/connect/token).sendMessageUrl- URL of the Mluvii send API (defaults tohttps://app.mluvii.com/api/v1/Chatbot/{chatbotId}).chatbotId- Chatbot ID
Supported Watson Features
The following Watson features are implemented:
- Markup in
response_type=='text'(it is converted to markdown) response_type=='option'- Dismabiguation (
response_type=='option')
0.2.15
6 years ago
0.2.13
6 years ago
0.2.12
6 years ago
0.2.11
6 years ago
0.2.10
6 years ago
0.2.9
6 years ago
0.2.7
6 years ago
0.2.8
6 years ago
0.2.6
6 years ago
0.2.5
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago