I am interested in writing a Slack bot that will periodically send “ephemeral” messages to users. Ephemeral messages are messages that appear on the channel, but can only be visible to a specific user, for example responses to the “slash command” bot (for example, “/ who”).
The goals here, however, are to make ephemeral messages sent periodically by the bot, and:
- displayed in the channel message stream (i.e. not in the DM / private message) and
- not in response to any slash command.
How to use the API to create ephemeral messages like this?
slack-api slack
internet user
source share