Last active
June 22, 2018 23:41
-
-
Save skhavari/e1908a6b258b07e37336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slack://channel?id=<channel/group/user-id>&team=<team-id> |
how do I get team id?
You get it from the Slack API. (e.g.: https://api.slack.com/methods/channels.list)
For users, which ID gets passed through? I tried both IM ID and user ID but neither seem to be working.
IM id worked for me (e.g. https://api.slack.com/methods/im.list). slack://channel?id=<im-id>&team=<team-id>
The full list is available here: https://api.slack.com/docs/deep-linking
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For information, channel id and team id are different from their name and should be retrieved thanks to the API methods.