简体   繁体   中英

Open slack app from a hyperlink (or URL scheme)

是否存在可用于从第三方应用程序打开Slack应用程序的定义的url方案?

As I heard url schemes for Slack is not supported yet, but planned.

Although unofficial, you may try this,

slack://channel?id=<channel/group/user-id>&team=<team-id>

Open Slack

 slack://open

Open a channel

 slack://channel?team={TEAM_ID}&id={CHANNEL_ID}

Open a direct message

 slack://user?team={TEAM_ID}&id={USER_ID}

Open a file

  slack://file?team={TEAM_ID}&id={FILE_ID}

source: https://api.slack.com/docs/deep-linking

example: slack://channel?team=U769JLSAV&id=C765NAL8G

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM