slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
162 stars 27 forks source link

[FEATURE] Document completing a function from the `viewSubmissionHandler` #299

Open zimeg opened 6 months ago

zimeg commented 6 months ago

Description of the problem being solved

Marking a function as complete from a viewSubmissionHandler requires using the client provided as an argument and making a call to functions.completeSuccess. A sample example is here but having this documented would be nice!

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

zimeg commented 6 months ago

Assigning this to myself and plan to tackle it soon, but anyone can feel free to pick it up! I'll toss 👀 on it once I open my editor.

zimeg commented 6 months ago

Maybe this points to https://api.slack.com/automation/interactive-modals#close-modal