可以将链接直接发送到Slack应用程序中的Slack对话吗?

huangapple go评论58阅读模式
英文:

Is it possible to send a link to a Slack conversation directly to the Slack app?

问题

在MacOS上使用Slack时,我通常同时保持两个客户端打开:常规的桌面应用程序和一个在Emacs中使用的包。后者可以完成我90%的需求,但有时我需要切换到桌面应用程序。Emacs包可以生成一个特定的Slack聊天的URL链接,格式如下:

https://mycompany.slack.com/archives/ABCDEFGHI/p9988776655443322?thread_ts=1234567890.123456&cid=AB1CDEF23

我可以将此链接发送到我的浏览器(Firefox),然后一些方式会在常规应用程序中打开聊天。有点绕,但到目前为止一切都还好。

最初,Firefox只需要不到一秒就可以将聊天传递给Slack,但在某个时候,某些事情发生了变化,现在需要几秒钟,这令人恼火。

有没有办法直接将链接发送到Slack应用程序?或者,如果无法实现直接发送,是否有办法减少Firefox打开链接所需的时间?

英文:

When using Slack on MacOS, I typically keep two clients open at once: the usual desktop app, and a package that's used from within Emacs. The latter does 90% of what I need, but I sometimes need to hop over into the desktop app. The Emacs package can produce a URL link to a particular Slack chat, in the form

https://mycompany.slack.com/archives/ABCDEFGHI/p9988776655443322?thread_ts=1234567890.123456&cid=AB1CDEF23

I can send this link to my browser (Firefox), which then somehow opens the chat in the regular app. A little circuitous, but all good so far.

Originally Firefox would take under a second to hand off the chat to Slack, but at some point, something changed and it now takes several seconds instead, which is irritating.

Is there some way to send a link directly to the Slack app? Or, failing that, to reduce the time it takes Firefox to open the link?

答案1

得分: 0

是的,有方法将用户链接到这些实体中,在Slack深度链接参考中有详细说明。

最有可能的方法是提供一个链接,就像在打开与您的应用程序或机器人的直接消息部分中所示:https://slack.com/app_redirect?app={APP_ID};或者在您的URI协议中使用slack://,就像在打开应用主页部分中所示:slack://app?team={TEAM_ID}&id={APP_ID}。您可以从工作区浏览器URL和应用程序的配置页面获取团队ID(通常以T**开头)和应用程序ID(A**)。

英文:

Yes, there are methods to link users to such entities in a Slack Deep Linking Reference.

Most likely you should provide a link like in Opening a direct message with your app or bot section: https://slack.com/app_redirect?app={APP_ID}; or use a slack:// in your URI protocol as in Open an App Home section: slack://app?team={TEAM_ID}&id={APP_ID}. You can obtain Team ID (typically starting with T**) and Application ID (A**) from workspace browser URL and a Configuration page of an application.

答案2

得分: 0

我通过应用程序中的“联系我们”按钮联系了Slack。我收到了一个快速回复,建议我清除Firefox和Slack中的缓存。我清除了Firefox中slack.com域的缓存数据,然后通过“帮助 > 故障排除 > 清除缓存并重新启动”清除了Slack的缓存数据。之后,在Firefox中打开Slack消息链接时,响应时间恢复到了不到一秒。

英文:

I contacted Slack via the "Contact Us" button in the app's "Help" feature. I received a prompt reply suggesting that I clear the cache in both Firefox and Slack. I cleared Firefox's cached data for the slack.com domain, then Slack's cached data via Help > Troubleshooting > Clear Cache and Restart. After that, opening Slack message links in Firefox was back to sub-second response times.

huangapple
  • 本文由 发表于 2023年7月14日 03:37:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/76682720.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定