Get Channel Name With Slack API

Viewed 23

I'm working on a Slack bot that uses the Slack API's chat.unfurl and conversations.info. Now I've been able to get chat.unfurl to work using my Slack bot's auth token but for converstions.info, I get a channel_not_found error.

After some digging, I found out that it only works in public channels or in channels to which my Slack bot has been invited. I find this quite odd though as my bot is able to do an unfurl in any Slack channel but now it would need to be added to retrieve channel info.

Regardless, Is there any other way to achieve this without manually inviting my bot? I'm really just trying to get the channel's name but it seems like conversations.info is the only way Slack provides this when given a conversation_ID.

Any type of insight would be greatly appreciated.

0 Answers
Related