Comments (2)
Hello @AlexAtkinson, thank you for reaching out!
I understand that passing a channel name rather than its ID would be more convenient in many scenarios. However, our platform does not currently support channel name param for newer APIs (including chat.update). The channel name param is only available in the most long-lived APIs such as chat.postMessage and files.upload.
The reason behind this design policy change for newer APIs is inherent fragility of API calls due to the possibility of renaming at any time. This potential randomness often results in unexpected errors during API calls. While it might not make sense to you, our platform made this direction change to reduce such errors moving forward. For this reason, I am sorry to say this, but our platform team will not be incorporating any updates that allow APIs to accept channel names further.
I understand that this may not be the answer you were hoping for, but we greatly appreciate your understanding. Thank you so much again for taking the time to share this feedback.
from python-slack-sdk.
Thanks for the info. A blurb on in the docs would short circuit other like issues.
I would rather not be able to rename channels than loose channel name direct referencing, though. I think I've renamed a channel once.
Best,
A
from python-slack-sdk.
Related Issues (20)
- Curl Request for Slack File Upload using files.completeUploadExternal HOT 38
- Sending a message with file after uploading the file gives file not found error HOT 6
- Slack send file deleted HOT 1
- Failing auth_test for token - what could be the reasons? HOT 3
- Setting `timezone="UTC"` for `TimePickerElement` should display "UTC" as the "hint" text, not "Monrovia, Reykjavik" HOT 5
- Why are deprecated methods not commented out or removed? HOT 1
- Standardize method parameters (channel vs channel_id, user vs user_id) HOT 1
- Support all possible fields for RichTextElementParts.Date HOT 1
- slack_client.conversations_list(type='private') only returns public channels HOT 5
- Unclear about responding to modal submissions using only Python Requests & Slack SDK HOT 3
- bug: improve the slack url overwriting experience HOT 2
- Intersphinx Docs No Longer being Published HOT 1
- Export types for the objects returned from making requests HOT 1
- 'WebClient' object has no attribute 'conversations_canvases_create' HOT 1
- Cannot post a thread message on an uploaded image. HOT 4
- Bots can't delete their messages HOT 2
- slack_sdk.models.blocks.RichTextElementParts.Date does not support required field `format` HOT 1
- files_upload_v2 doesnt properly work with Slack building blocks HOT 7
- Steps to re-install apps based on oauth_app demo HOT 1
- Is it possible to rename Canvas with Python Slack SDK? HOT 1
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 python-slack-sdk.