@@ -76,7 +76,7 @@ async def set_status(
7676 * ,
7777 status : str ,
7878 loading_messages : Optional [List [str ]] = None ,
79- channel : Optional [str ] = None ,
79+ channel_id : Optional [str ] = None ,
8080 thread_ts : Optional [str ] = None ,
8181 ** kwargs ,
8282 ) -> AsyncSlackResponse :
@@ -85,15 +85,15 @@ async def set_status(
8585 Args:
8686 status: The status text to display.
8787 loading_messages: Optional list of loading messages to cycle through.
88- channel : Channel ID. Defaults to the channel from the event context.
88+ channel_id : Channel ID. Defaults to the channel from the event context.
8989 thread_ts: Thread timestamp. Defaults to the thread_ts from the event context.
9090 **kwargs: Additional arguments passed to ``AsyncWebClient.assistant_threads_setStatus()``.
9191
9292 Returns:
9393 ``AsyncSlackResponse`` from the API call.
9494 """
9595 return await self ._client .assistant_threads_setStatus (
96- channel_id = channel or self ._channel_id , # type: ignore[arg-type]
96+ channel_id = channel_id or self ._channel_id , # type: ignore[arg-type]
9797 thread_ts = thread_ts or self ._thread_ts or self ._ts , # type: ignore[arg-type]
9898 status = status ,
9999 loading_messages = loading_messages ,
@@ -105,7 +105,7 @@ async def set_suggested_prompts(
105105 * ,
106106 prompts : Sequence [Union [str , Dict [str , str ]]],
107107 title : Optional [str ] = None ,
108- channel : Optional [str ] = None ,
108+ channel_id : Optional [str ] = None ,
109109 thread_ts : Optional [str ] = None ,
110110 ** kwargs ,
111111 ) -> AsyncSlackResponse :
@@ -115,7 +115,7 @@ async def set_suggested_prompts(
115115 prompts: A sequence of prompts. Each prompt can be either a string
116116 (used as both title and message) or a dict with 'title' and 'message' keys.
117117 title: Optional title for the suggested prompts section.
118- channel : Channel ID. Defaults to the channel from the event context.
118+ channel_id : Channel ID. Defaults to the channel from the event context.
119119 thread_ts: Thread timestamp. Defaults to the thread_ts from the event context.
120120 **kwargs: Additional arguments passed to ``AsyncWebClient.assistant_threads_setSuggestedPrompts()``.
121121
@@ -130,7 +130,7 @@ async def set_suggested_prompts(
130130 prompts_arg .append (prompt )
131131
132132 return await self ._client .assistant_threads_setSuggestedPrompts (
133- channel_id = channel or self ._channel_id , # type: ignore[arg-type]
133+ channel_id = channel_id or self ._channel_id , # type: ignore[arg-type]
134134 thread_ts = thread_ts or self ._thread_ts or self ._ts , # type: ignore[arg-type]
135135 prompts = prompts_arg ,
136136 title = title ,
0 commit comments