Using chat with slack.com

TypeScript integration

Install
npm install chat
Quick start
import Chat from 'chat';

const client = new Chat({ accessToken: "YOUR_ACCESS_TOKEN" });
Checks API calling code.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/api.test
Retrieves a user's current Do Not Disturb status.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/dnd.info
Checks authentication & identity.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/auth.test
SDK on GitHub 📄 API Docs
SDK
chat
TypeScript
API
slack.com
slack.com
At a glance
Language TypeScript
Endpoints174
Base URLhttps://slack.com/api