@@ -85,7 +85,7 @@ <h1 class="title">Module <code>slack_bolt.listener.async_listener</code></h1>
8585 return (resp, False)
8686
8787 @abstractmethod
88- async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> BoltResponse:
88+ async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> Optional[ BoltResponse] :
8989 """Runs all the registered middleware and then run the listener function.
9090
9191 Args:
@@ -467,7 +467,7 @@ <h3>Inherited members</h3>
467467 return (resp, False)
468468
469469 @abstractmethod
470- async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> BoltResponse:
470+ async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> Optional[ BoltResponse] :
471471 """Runs all the registered middleware and then run the listener function.
472472
473473 Args:
@@ -532,7 +532,7 @@ <h3>Methods</h3>
532532</ details >
533533</ dd >
534534< dt id ="slack_bolt.listener.async_listener.AsyncListener.run_ack_function "> < code class ="name flex ">
535- < span > async def < span class ="ident "> run_ack_function</ span > </ span > (< span > self, *, request: < a title ="slack_bolt.request.async_request.AsyncBoltRequest " href ="../request/async_request.html#slack_bolt.request.async_request.AsyncBoltRequest "> AsyncBoltRequest</ a > , response: < a title ="slack_bolt.response.response.BoltResponse " href ="../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ) ‑> < a title ="slack_bolt.response.response.BoltResponse " href ="../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > </ span >
535+ < span > async def < span class ="ident "> run_ack_function</ span > </ span > (< span > self, *, request: < a title ="slack_bolt.request.async_request.AsyncBoltRequest " href ="../request/async_request.html#slack_bolt.request.async_request.AsyncBoltRequest "> AsyncBoltRequest</ a > , response: < a title ="slack_bolt.response.response.BoltResponse " href ="../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ) ‑> Optional[ < a title ="slack_bolt.response.response.BoltResponse " href ="../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ] </ span >
536536</ code > </ dt >
537537< dd >
538538< div class ="desc "> < p > Runs all the registered middleware and then run the listener function.</ p >
@@ -550,7 +550,7 @@ <h2 id="returns">Returns</h2>
550550< span > Expand source code</ span >
551551</ summary >
552552< pre > < code class ="python "> @abstractmethod
553- async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> BoltResponse:
553+ async def run_ack_function(self, *, request: AsyncBoltRequest, response: BoltResponse) -> Optional[ BoltResponse] :
554554 """Runs all the registered middleware and then run the listener function.
555555
556556 Args:
0 commit comments