x/slack_web_api@1.0.0/README.md

Slack Developer Kit for Node.js
GitHub Stars
3073
Go to Latest

Slack Deno Web API

Deno port of https://www.npmjs.com/package/@slack/web-api

Current Status

This repo has been partially tested, but is not guaranteed to work

Usage

import { WebClient } from 'https://deno.land/x/slack_web_api@1.0.0/mod.ts'
const web = new WebClient('your-token-here')

await web.chat.postMessage({
    channel: "C01C74D080J",
    text: "Hi from slack for deno"
})

API

License

Slack Deno Web API is licensed under the MIT License. Code is adapted from https://github.com/slackapi/node-slack-sdk/tree/main/packages/web-api (also under the MIT License)