slack-webhook
slack-webhook copied to clipboard
Fix SlackAction: change SlackAction "value" to "url"
@gpedro @galimru please review
Hi @dvehar, the value
is needed for interactive message buttons as response value to help determine which button was pressed. When you use url
field it will create link button like described here https://api.slack.com/docs/message-attachments#link_buttons
I think it would be better to add url
field and leave other fields as is.
@rgalimov I pushed some changes. I broke out the SlackAction functionality into specific subclasses (BasicButtonSlackAction
, InteractiveButtonSlackAction
, InteractiveSelectSlackAction
) and added tests.
@rgalimov can you please review?
@dvehar this looks fine
@gpedro please review / merge.
@gpedro just following up. Can this change be merged?
@gpedro @galimru Can these changes be merged?
@gpedro @jaypatel512 @rgalimov are you able to merge?
@dvehar Sorry, I don't have access to merge PR