bot-handoff
Version:
Bot hand off module for the Microsoft Bot Framework. It allows you to transfer a customer from talking to a bot to talking to a human.
17 lines (13 loc) • 437 B
text/typescript
import { Session, UniversalBot } from 'botbuilder';
import { IProvider } from '../provider/IProvider';
export abstract class Router {
protected bot: UniversalBot;
protected provider: IProvider;
constructor(bot: UniversalBot, provider: IProvider) {
this.bot = bot;
this.provider = provider;
}
//tslint:disable
public abstract Route(session: Session, next?: Function): any;
//tslint:enable
}