Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchurch authored Aug 27, 2017
1 parent 042dfde commit 0af2df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/readme-slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ controller.on('custom_triggered_event', function(bot, trigger) {

To reply to a user ephemerally in a conversation, pass a message object to `convo.say()` `convo.sayFirst()` `convo.ask()` `convo.addMessage()` `convo.addQuestion()` that sets ephemeral to true.

Currently, you can receive postbacks from interactive messages in ephemeral messages, but cannot update the state of the message.
When using interactive message attachments with ephemeral messaging, Slack does not send the original message as part of the payload. With non-ephemeral interactive messages Slack sends a copy of the original message for you to edit and send back. To respond with an edited message when updating ephemeral interactive messages, you must construct a new message to send as the response, containing at least a text field.

```javascript
controller.hears(['^tell me a secret$'], 'direct_mention, ambient, mention', function(bot, message) {
Expand Down

0 comments on commit 0af2df7

Please sign in to comment.