@@ -3687,6 +3687,32 @@ <h1 class="title">Module <code>slack_sdk.web.async_client</code></h1>
36873687 )
36883688 return await self.api_call("files.completeUploadExternal", params=kwargs)
36893689
3690+ async def functions_completeSuccess(
3691+ self,
3692+ *,
3693+ function_execution_id: str,
3694+ outputs: Dict[str, Any],
3695+ **kwargs,
3696+ ) -> AsyncSlackResponse:
3697+ """Signal the successful completion of a function
3698+ https://api.slack.com/methods/functions.completeSuccess
3699+ """
3700+ kwargs.update({"function_execution_id": function_execution_id, "outputs": json.dumps(outputs)})
3701+ return await self.api_call("functions.completeSuccess", params=kwargs)
3702+
3703+ async def functions_completeError(
3704+ self,
3705+ *,
3706+ function_execution_id: str,
3707+ error: str,
3708+ **kwargs,
3709+ ) -> AsyncSlackResponse:
3710+ """Signal the failure to execute a function
3711+ https://api.slack.com/methods/functions.completeError
3712+ """
3713+ kwargs.update({"function_execution_id": function_execution_id, "error": error})
3714+ return await self.api_call("functions.completeError", params=kwargs)
3715+
36903716 # --------------------------
36913717 # Deprecated: groups.*
36923718 # You can use conversations.* APIs instead.
@@ -8823,6 +8849,32 @@ <h2 id="note">Note</h2>
88238849 )
88248850 return await self.api_call("files.completeUploadExternal", params=kwargs)
88258851
8852+ async def functions_completeSuccess(
8853+ self,
8854+ *,
8855+ function_execution_id: str,
8856+ outputs: Dict[str, Any],
8857+ **kwargs,
8858+ ) -> AsyncSlackResponse:
8859+ """Signal the successful completion of a function
8860+ https://api.slack.com/methods/functions.completeSuccess
8861+ """
8862+ kwargs.update({"function_execution_id": function_execution_id, "outputs": json.dumps(outputs)})
8863+ return await self.api_call("functions.completeSuccess", params=kwargs)
8864+
8865+ async def functions_completeError(
8866+ self,
8867+ *,
8868+ function_execution_id: str,
8869+ error: str,
8870+ **kwargs,
8871+ ) -> AsyncSlackResponse:
8872+ """Signal the failure to execute a function
8873+ https://api.slack.com/methods/functions.completeError
8874+ """
8875+ kwargs.update({"function_execution_id": function_execution_id, "error": error})
8876+ return await self.api_call("functions.completeError", params=kwargs)
8877+
88268878 # --------------------------
88278879 # Deprecated: groups.*
88288880 # You can use conversations.* APIs instead.
@@ -15896,6 +15948,54 @@ <h3>Methods</h3>
1589615948 return completion</code></pre>
1589715949</details>
1589815950</dd>
15951+ <dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeError"><code class="name flex">
15952+ <span>async def <span class="ident">functions_completeError</span></span>(<span>self, *, function_execution_id: str, error: str, **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
15953+ </code></dt>
15954+ <dd>
15955+ <div class="desc"><p>Signal the failure to execute a function
15956+ <a href="https://api.slack.com/methods/functions.completeError">https://api.slack.com/methods/functions.completeError</a></p></div>
15957+ <details class="source">
15958+ <summary>
15959+ <span>Expand source code</span>
15960+ </summary>
15961+ <pre><code class="python">async def functions_completeError(
15962+ self,
15963+ *,
15964+ function_execution_id: str,
15965+ error: str,
15966+ **kwargs,
15967+ ) -> AsyncSlackResponse:
15968+ """Signal the failure to execute a function
15969+ https://api.slack.com/methods/functions.completeError
15970+ """
15971+ kwargs.update({"function_execution_id": function_execution_id, "error": error})
15972+ return await self.api_call("functions.completeError", params=kwargs)</code></pre>
15973+ </details>
15974+ </dd>
15975+ <dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess"><code class="name flex">
15976+ <span>async def <span class="ident">functions_completeSuccess</span></span>(<span>self, *, function_execution_id: str, outputs: Dict[str, Any], **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
15977+ </code></dt>
15978+ <dd>
15979+ <div class="desc"><p>Signal the successful completion of a function
15980+ <a href="https://api.slack.com/methods/functions.completeSuccess">https://api.slack.com/methods/functions.completeSuccess</a></p></div>
15981+ <details class="source">
15982+ <summary>
15983+ <span>Expand source code</span>
15984+ </summary>
15985+ <pre><code class="python">async def functions_completeSuccess(
15986+ self,
15987+ *,
15988+ function_execution_id: str,
15989+ outputs: Dict[str, Any],
15990+ **kwargs,
15991+ ) -> AsyncSlackResponse:
15992+ """Signal the successful completion of a function
15993+ https://api.slack.com/methods/functions.completeSuccess
15994+ """
15995+ kwargs.update({"function_execution_id": function_execution_id, "outputs": json.dumps(outputs)})
15996+ return await self.api_call("functions.completeSuccess", params=kwargs)</code></pre>
15997+ </details>
15998+ </dd>
1589915999<dt id="slack_sdk.web.async_client.AsyncWebClient.groups_archive"><code class="name flex">
1590016000<span>async def <span class="ident">groups_archive</span></span>(<span>self, *, channel: str, **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
1590116001</code></dt>
@@ -18487,6 +18587,8 @@ <h4><code><a title="slack_sdk.web.async_client.AsyncWebClient" href="#slack_sdk.
1848718587<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_sharedPublicURL" href="#slack_sdk.web.async_client.AsyncWebClient.files_sharedPublicURL">files_sharedPublicURL</a></code></li>
1848818588<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_upload" href="#slack_sdk.web.async_client.AsyncWebClient.files_upload">files_upload</a></code></li>
1848918589<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_upload_v2" href="#slack_sdk.web.async_client.AsyncWebClient.files_upload_v2">files_upload_v2</a></code></li>
18590+ <li><code><a title="slack_sdk.web.async_client.AsyncWebClient.functions_completeError" href="#slack_sdk.web.async_client.AsyncWebClient.functions_completeError">functions_completeError</a></code></li>
18591+ <li><code><a title="slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess" href="#slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess">functions_completeSuccess</a></code></li>
1849018592<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_archive" href="#slack_sdk.web.async_client.AsyncWebClient.groups_archive">groups_archive</a></code></li>
1849118593<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_create" href="#slack_sdk.web.async_client.AsyncWebClient.groups_create">groups_create</a></code></li>
1849218594<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_createChild" href="#slack_sdk.web.async_client.AsyncWebClient.groups_createChild">groups_createChild</a></code></li>
0 commit comments