How do I send “@here” with the Slack API?
<!here> is the solution. There are other commands that work with the <!___> format. Check out this part of the official Slack documentation for an overview about all such variables.
<!here> is the solution. There are other commands that work with the <!___> format. Check out this part of the official Slack documentation for an overview about all such variables.
The correct format is <@userID> You will simply get the user ID from the event (in your screenshot, the channel_join event) { “type”: “message”, “subtype”: “channel_join”, “ts”: “1358877458.000011”, “user”: “U2147483828”, “text”: “<@U2147483828|cal> has joined the channel” } Update: (I have not checked the solution proposed in the edit) In the new Bolt SDK you can … Read more
As @timotree pointed out in a comment you should be able to initiate a call to a “channel” using: <team api url>/call/<channel id>. To automate this, have the call be initiated by a server you own. There you can simply set up a cron job something like 45 10 * * 1-5 <your script> >/dev/null … Read more
I tried many options; nothing worked for me. Firfox is my default browser but slack opened links Opera. So i uninstalled Opera. Then slack opened links in Chrome. Here is what i did that worked for me. I use Kubuntu and firefox is already the default browser (verified from firefox’s settings) I want slack to … Read more
You can /remove (or /kick) the bot. Type /kick @botname in the channel which you want the bot to leave.
No, its is not possible to upload files through an incoming Webhook. But you can attach image URLs to your attachments with the image_url tag. To upload files you need to use the Slack Web API and the files.upload method. Yes, it requires a different authentication, but its not that complicated if you just use … Read more
I have opened a ticket to Slack support asking if Slack’s Incoming Webhook message supports table of any form (HTML or Markdown). The official answer is that Slack messages do not support tables. They suggest to generate a table and post it as an image. They also said that they will add it to their … Read more
The answer provided by Boon is correct. I wanted to leave comment under that answer but apparently I need 50 points to comment so I can only add new answer… After digging into the matter it sounds like the kde-open5 from kde-cli-tools is doing some funky lower-casing on first element of URL (slack://A/B/C becomes slack://a/B/C). … Read more
You should be able to create a reminder sending a message to @slackbot The message should be like: /remind [@someone or #channel] [what] [when] Here’s some examples: /remind @username to do something in 24 hours or: /remind @username to do something at 16:00