Skip to main content
Module

x/slack_bolt/src/types/receiver.ts

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
File
// deno-lint-ignore-file no-explicit-anyimport App from "../App.ts"import { StringIndexed } from "./helpers.ts"import { AckFn } from "./index.ts"
export interface ReceiverEvent { body: StringIndexed // TODO: there should maybe be some more help for implementors of Receiver to know what kind of argument the AckFn // is expected to deal with. ack: AckFn<any>}
export interface Receiver { init(app: App): void start(...args: any[]): unknown stop(...args: any[]): unknown}