slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.69k stars 1.14k forks source link

add functions.completeError and functions.completeSuccess #1301

Closed yogasw closed 1 month ago

yogasw commented 4 months ago

this PR to handle event function_executed and response the function with functions.completeSuccess and functions.completeError

github-actions[bot] commented 2 months ago

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

zacharyabzg commented 2 months ago

Hello wonderful contributors! We use this library at work for a project and we are up against the deadline for Workflow Builder deprecation. Currently we're trying to backport our legacy stuff to the new functions paradigm but this library only seems to currently support legacy workflows.

Do y'all have any idea if this will land before 09/26/24? Is there anything we can do to help? Thanks!

gideonw commented 2 months ago

If this PR is updated to use the event types defined in https://github.com/slack-go/slack/pull/1306 it works as intended. I have merged the two in my fork and tested the changes with success.

@yogasw Do you need help with this PR? If so I can modify your changes in my fork and submit a separate PR.

lorenzoaiello commented 1 month ago

Superseded by https://github.com/slack-go/slack/pull/1328