Send a message to the "only visible to you" channel

I can not see in the documentation for the weak API the ability for the bot to send a message in a channel that responds to the user.

The same slackbotanswers when executed /help.

Can anyone tell me if this is possible?

enter image description here

Pay attention to "Only visible to you." The RTM manual says that messsage is of the same type as the message event . I do not see any attributes that could say that they are visible only to a specific user.

+4
source share
3 answers

, , .

, -, .

+4

smarx. , " ", "" . ( "" ) Slack Bot

The bot does not currently support this type of message. Only slash commands can send ephemeral messages. https://api.slack.com/slash-commands#responding_to_a_command .

Also, if you want to use slash commands, the answers will be sent by @slackbot, not your custom bot.

+2
source

All Articles