bottender
Version:
A framework for building conversational user interfaces.
22 lines • 931 B
TypeScript
import { SlackOAuthClient } from 'messaging-api-slack';
import Bot, { OnRequest } from '../bot/Bot';
import SessionStore from '../session/SessionStore';
import SlackContext from './SlackContext';
import SlackEvent from './SlackEvent';
import { SlackRequestBody } from './SlackTypes';
export default class SlackBot extends Bot<SlackRequestBody, SlackOAuthClient, SlackEvent, SlackContext> {
_accessToken: string;
constructor({ accessToken, sessionStore, sync, verificationToken, signingSecret, origin, skipLegacyProfile, includeBotMessages, onRequest, }: {
accessToken: string;
sessionStore?: SessionStore;
sync?: boolean;
verificationToken?: string;
signingSecret?: string;
origin?: string;
skipLegacyProfile?: boolean;
includeBotMessages?: boolean;
onRequest?: OnRequest;
});
createRtmRuntime(): void;
}
//# sourceMappingURL=SlackBot.d.ts.map