Open talaniz opened 4 months ago
I suspect that it might be because of the Slack client I used looking at the example vs the tutorial I used. I'll try an example with the RTM client and follow up on this ticket.
Were you able to resolve this? I'm running into the same issue.
I'm not certain this is a bug, it seems more like maybe I'm not implementing something correctly. But I've been through the documentation and have been unable to find anything that directly talks about handling a slack interactive event over a websocket.
What happened
When I use websockets, I'm not receiving any data in response, just a
slack.InteractionCallback
with only the type populated.Expected behavior
I would expect to receive a payload with the ActionID, Name, Value and Type messages populated. This is what I receive from the print statements in the code below:
Steps to reproduce
If I run a switch statement on the incoming
socketClient.Events
and print the various attributes, they should be populated. I'll include the code in the next section.reproducible code
main.go
handlers.go
Versions