1.0.1 • Published 6 years ago
ngx-dialogflow-chatbot v1.0.1
Angular 2+ DialogFlow ChatBot - Library
Installation
npm install ngx-dialogflow-chatbot
Usage
In module:
import { NgxDialogflowChatbotModule } from 'ngx-dialogflow-chatbot';
@NgModule({
...
imports: [
...
NgxDialogflowChatbotModule,
...
],
...
})
export class AppModule { }
In template:
<ngx-dialogflow-chatbot
logoUrl="assets/logo.png"
title="ChatBot"
[token]="DIALOG_FLOW_TOKEN"
userAvatarUrl="assets/user.png"
botAvatarUrl="assets/bot.jpg">
</ngx-dialogflow-chatbot>