UNPKG

474 BTypeScriptView Raw
1import { Channel } from './channel';
2import { Bot } from "./bot-model";
3export declare class Slack extends Channel {
4 constructor(bot: Bot);
5 preprocessParams(params: any): any;
6 authorize(code: string): Promise<{}>;
7 getUser(data: any): Promise<{}>;
8 postMessage(body: any, data: any): Promise<{}>;
9 execute(body: any, parameters: any, handler: any): Promise<{}>;
10 resolveSuccessDialogPath(dir: any): string;
11 verifyToken(body: any): Promise<{}>;
12}