Skip to main content
Module

x/slack_bolt/mod.ts>OpineReceiver

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
class OpineReceiver
implements Receiver
import { OpineReceiver } from "https://deno.land/x/slack_bolt@1.0.0/mod.ts";

Receives HTTP requests with Events, Slash Commands, and Actions

Constructors

new
OpineReceiver(unnamed 0: OpineReceiverOptions)

Properties

private
bolt: App | undefined
private
optional
installerRedirectOptions: { failure?: (req: OpineRequest<ParamsDictionary, any, any>, res: OpineResponse<any>) => Promise<void>; success?: (req: OpineRequest<ParamsDictionary, any, any>, res: OpineResponse<any>) => Promise<void>; }
private
logger: Logger
private
processBeforeResponse: boolean
private
optional
server: Server
app: Opine
installer: InstallProvider | undefined
router

Methods

private
requestHandler(req: OpineRequest<ParamsDictionary, any, any>, res: OpineResponse<any>): Promise<void>
init(bolt: App): void
start(portOrOptions: HTTPOptions | HTTPSOptions): Server
stop(): void