Comments (4)
Thank you so much for taking the time to send this feedback! Indeed, the api document page should have links to v2 information such as https://slack.dev/node-slack-sdk/web-api#upload-a-file and https://slack.dev/python-slack-sdk/web/index.html#files
I will talk to the team maintaining the site.
from node-slack-sdk.
Hi @seratch I tried using uploadV2
method but my channels cannot be found unlike v1 where I would not need to write my channel id. Can I ask if such capabilities of using channel name instead of channel id be added? the original v1 allows for channel name and channel id. Can I ask this capability be replicated?
from node-slack-sdk.
@caramelmelmel Unfortunately, there is no plan to enable developers to pass a channel name instead of channel ID to the v2 API endpoints. Only long-lived APIs such as chat.postMessage and files.upload allow channel name as the parameter to specify what the channel is. A channel name can be renamed at any time, therefore it's not robust enough for long term maintenance. For this reason, newer endpoints accept only channel IDs and that's the same for the v2 file uploading functionality. I understand this is not convenient for you, but it'd be appreciated if you could understand this.
from node-slack-sdk.
These documents were updated on the API site. Closing.
from node-slack-sdk.
Related Issues (20)
- Web-sdk not compatible with CRA? HOT 5
- Is it possible to get typing event or indicator when a user in slack starts typing in a message HOT 2
- Typescript type error for `web.files.uploadV2()` arguments when using `file_uploads` HOT 2
- Missing exported types (Channel, etc) HOT 7
- Bun runtime support for @slack/web-api HOT 1
- Way to disable message content being logged HOT 3
- files.upload method returns warning message "files.upload may cause some issues like timeouts for relatively large files." HOT 4
- Main thread crashes due to unhandled error from @slack/web-api SDK HOT 3
- 'process is not defined' in react vite HOT 1
- The icon_url option on chat.postMessage does not seem to affect the preview avatar image shown in the thread reply summary HOT 3
- Please support `AbortSignal` HOT 2
- Document inconsistency: checkboxes block element's description can have both plain_text and mrkdwn HOT 2
- icon_url is not working in thread replies.
- socket-mode: Type event payloads HOT 1
- web-api: Consider removing need to provide empty object as argument to zero-argument methods HOT 2
- web-api: Consider removing empty interfaces HOT 5
- Unhandled event 'websocket open' in state 'connected'. HOT 10
- sharedPublicURL rejects with error "not_allowed" for no clear reason HOT 2
- web-api: oauth.v2.exchange is missing token parameter HOT 3
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 node-slack-sdk.