-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a method to get the channel ID using the current channel name #1503
Comments
If there's already a pattern for this and I'm just completely missing it in the documentation, please let me know. Thanks! |
HI @angrychimp thanks for writing in 💯 This is a less then ideal scenario, I do not know a simple workaround for this, but since this is a |
To add to this, we also are struggling with this issue and we typically run into the rate limit prior to getting the result we need. For us, this would reduce the api calls from hundreds down to one. |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
I absolutely wish to have this looked at. This is an ongoing concern and I routinely run into situations where an easy method to convert channel name to and ID would be far easier than scanning a full list of channels in a workspace |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
Commenting again to prevent this from being closed. Still hoping this gets looked at. |
Hi @angrychimp 👋 This is a popular feature request that I agree would be useful, but we can only recommend paginating the I do think it's worth keeping this issue open too so others can 📚 For more reference, this has been mentioned in issues like: #405, #1066, #1158, #1495, and a few other times in other repos. |
+1 to this. For our usecase, we post messages and files to multiple channels (public and private). The @zimeg You're saying this has been requested multiple times (since 2019...) and still no improvments or even just a timeline? This is even worst considering that this feature existed in |
This is correct. I kindly ask for your understanding that myself, zim and other Slack employees that engage in these public GitHub issues with y'all do everything we can to raise your feedback, but ultimately these decisions and prioritizations are not ours to make. The only recourse I can suggest is to have your voice be heard by emailing [email protected]. If I could make the decision, I would provide such an API for you and the countless other developers who have asked for this feature. Unfortunately, I cannot make that decision. |
We need a way to get the channel ID when provided the current channel name as an input. Previously this could be done using the
channels.info
API method, but now with that method fully deprecated and disabled, we don't have any other reliable method of doing this. We could theoretically post a new message to the channel usingchat.postMessage
, which returns the channel ID, then remove that message, but this seems like overkill.The use case is that a user provides a channel name as input, and we want to convert that channel name to an ID and store that ID for later use when posting messages. Obviously the name may change over time, so using the channel ID is ideal.
Category
The text was updated successfully, but these errors were encountered: