Reputation: 131
I have a slack bot wrapped in an app that I'm using to send users in a channel an attachment asking a question with button options. The problem is that when a user clicks a button I seem to only have one of two options:
replace_original
attribute to false
and have the response show as ephemeral for the respondent, but leave the buttons there for them to continue to click as many times as they want.What I need is to be able to disable the buttons and acknowledge the click for respondents, but keep the original attachment with buttons intact for those in the channel who have not yet responded. I can't find the answer on Slack's documentation, including:
Upvotes: 1
Views: 886
Reputation: 32852
Yes, that are your only options. Slack will not manage the state of each user with respect to your app / this action for you. You will have to do that yourself in your app, e.g. I would go with option 2 and reply with an ephemeral and user specific Messetage after a button is clicked
Upvotes: 0