UNPKG

recime-bot-runtime

Version:

This runtime is intended to run inside a micro-service container with platform specific integration and module interpreter.

20 lines (19 loc) 497 B
import { Vars } from './vars'; import { Bot } from './../bot-model'; export interface Context { args: any; bot: Bot; platform: string; homedir: string; processedIntents: string[]; } export declare class Responder { private __; context: Context; constructor(context: any); respond(): Promise<any>; processEvent(args: any): void; processRequest(vars: Vars): Promise<any>; processResponse(r: any, vars: Vars): any; processEntities(nlp: any): {}; }