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:
- appear within the channel message stream (i.e. not in a DM/private message), and
- not in response to any slash command.
How do I use the APIs to create ephemeral messages like this?