How to Send Periodic Ephemeral ("Hidden") Messages From a Slack Bot

Viewed 5944

I am interested in writing a Slack bot that will periodically send "ephemeral" messages to users. Ephemeral messages are messages that appear within a channel, but can only be seen by a particular user, like the responses to bot "slash commands" (e.g. "/who").

The goals here, however, are to have ephemeral messages sent periodically by the bot and:

  1. appear within the channel message stream (i.e. not in a DM/private message), and
  2. not in response to any slash command.

How do I use the APIs to create ephemeral messages like this?

1 Answers
Related