UNPKG

294 BTypeScriptView Raw
1import { Bot } from './bot-model';
2import { Log } from './logger';
3export interface Context {
4 bot: Bot;
5 log: Log;
6}
7export declare abstract class Channel {
8 protected context: Context;
9 constructor(context: Context);
10 execute(body: any, parameters: any, handler: any): void;
11}