recime-bot-runtime
Version:
This runtime is intended to run inside a micro-service container with platform specific integration and module interpreter.
13 lines (12 loc) • 474 B
TypeScript
import { Channel } from './channel';
import { Bot } from "./bot-model";
export declare class Slack extends Channel {
constructor(bot: Bot);
preprocessParams(params: any): any;
authorize(code: string): Promise<{}>;
getUser(data: any): Promise<{}>;
postMessage(body: any, data: any): Promise<{}>;
execute(body: any, parameters: any, handler: any): Promise<{}>;
resolveSuccessDialogPath(dir: any): string;
verifyToken(body: any): Promise<{}>;
}