'Slack bot linking to other channels in the web application
So I am working on a slack bot that displays a link to another channel when a command is given. Everything works in the native application (desktop / mobile) however it does not work in the web.
I are using the slack:// format for linking to the channel and based on the documentation:
https://api.slack.com/reference/deep-linking
It seems that format only works in the native app, not the web app. The same documentation makes reference to the https://slack.com/app_redirect?channel=C0VD1QBZB&team=DN4DC67TG2 which does work for the web application (even if the UX is not as good as it will open that in a new tab instead of the same window) but that also opens the channel in the web from the native client application which I don't want so I have 2 questions:
- Is there a way to know if the context of a slack bot message (like the one that happen with the user issues the command that display this link) came from a native application or web application that was I either the correct link format based on where the user is working from?
- Is their a way to link to another channel from the web without it loading into another tab?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
