typed-slack
Typed-slack is a type-safe slack client for TypeScript.
slackapi/node-slack-sdk is great slack client. However, it does not contain d.ts files. Typed-slack has type definitions, so you can handle slack-api easily and type-safely.
Code completion is enabled when using VSCode.
TODO
- Incoming Webhook
- Web API
- RTM API
- Events API
- Interactive Messages
Install
npm install typed-slack
Usage
Webhook
slack.send.then.catch
Options
More optional parameters are here#typed-slack.d.ts
await slack.sendoptions