Skip to main content
Module

x/slack_bolt/mod.ts>HTTPReceiver

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

Receives HTTP requests with Events, Slash Commands, and Actions

Constructors

new
HTTPReceiver(unnamed 0: HTTPReceiverOptions)

Properties

private
optional
app: App
private
endpoints: string[]
private
optional
installerRedirectOptions: { failure?: (req: ServerRequest) => Promise<void>; success?: (req: ServerRequest) => Promise<void>; }
private
optional
installPath: string
private
optional
installRedirectUriPath: string
private
optional
installUrlOptions: InstallURLOptions
private
logger: Logger
private
processBeforeResponse: boolean
private
optional
server: Server
private
signingSecret: string
optional
installer: InstallProvider
requestListener: (req: ServerRequest) => void | Promise<void>

Methods

init(app: App)
start(options: HTTPOptions | HTTPSOptions): Promise<Server>
stop(): void