1.0.1 • Published 6 years ago

botbuilder-greeting v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

botbuilder-greeting

A BotBuilder middleware that greets users upon starting a chat session.

This is a middleware responds to a conversationUpdate activity type where a new member was added and it is not the same member id as the running bot.

Installation

npm install botbuilder-greeting

Usage

const adapter = new BotFrameworkAdapter();
adapter.use(new BotGreeting(context => {
    return `Hi I'm your friendly bot`;
}));