Comments (4)
Ah sorry we deprecated that API in 9.x but you can still find the code here https://github.com/smallwins/slack/blob/0ab67869ab671664f8a299f74dd4e9f5d2472334/src/rtm.client.js
from slack.
@brianleroux thanks. May I know why the RTM API was deprecated in the lib? How would users be able to fetch messages without having to ping the slack api every x seconds?
from slack.
@gazpachu I think the Events API is probably what you want. Create a webhook for Slack to call, then subscribe to the Event Types you need (probably the message
family).
from slack.
yep! it is way better because you don't need to keep a socket open. just need a web-accessible url for slack to ping as the events happen. works great!
from slack.
Related Issues (20)
- Changelog HOT 4
- No file for browser in npm package HOT 6
- Proxy handling HOT 4
- Typescript defs don't support OO style pattern HOT 16
- Can't Handle Errors Gracefully HOT 4
- Failed to minify / pkg command fails HOT 3
- How to I get the install jenkins app details? HOT 1
- Workspace Apps X-Slack-User HTTP header HOT 8
- proposal: more helpful stack traces HOT 3
- Not running in webpack target electron-renderer HOT 5
- Unable to post interactive messages using postMessage HOT 1
- `useElectronNet: true` doesn't work HOT 3
- Support for chat.scheduleMessage
- promise return twice HOT 3
- Sending duplicate messages
- Webpack support HOT 5
- Support for OAuth V2 endpoints (and possibly other new ones) HOT 2
- Support for undocumented API endpoints and custom headers HOT 1
- Compilation Errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack.