@@ -2077,12 +2077,15 @@ def assistant_threads_setStatus(
20772077 channel_id : str ,
20782078 thread_ts : str ,
20792079 status : str ,
2080+ loading_messages : Optional [List [str ]] = None ,
20802081 ** kwargs ,
20812082 ) -> Union [Future , SlackResponse ]:
2082- """Revokes a token .
2083+ """Set the status for an AI assistant thread .
20832084 https://api.slack.com/methods/assistant.threads.setStatus
20842085 """
2085- kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "status" : status })
2086+ kwargs .update (
2087+ {"channel_id" : channel_id , "thread_ts" : thread_ts , "status" : status , "loading_messages" : loading_messages }
2088+ )
20862089 return self .api_call ("assistant.threads.setStatus" , params = kwargs )
20872090
20882091 def assistant_threads_setTitle (
@@ -2093,7 +2096,7 @@ def assistant_threads_setTitle(
20932096 title : str ,
20942097 ** kwargs ,
20952098 ) -> Union [Future , SlackResponse ]:
2096- """Revokes a token .
2099+ """Set the title for the given assistant thread .
20972100 https://api.slack.com/methods/assistant.threads.setTitle
20982101 """
20992102 kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "title" : title })
@@ -2108,7 +2111,7 @@ def assistant_threads_setSuggestedPrompts(
21082111 prompts : List [Dict [str , str ]],
21092112 ** kwargs ,
21102113 ) -> Union [Future , SlackResponse ]:
2111- """Revokes a token .
2114+ """Set suggested prompts for the given assistant thread .
21122115 https://api.slack.com/methods/assistant.threads.setSuggestedPrompts
21132116 """
21142117 kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "prompts" : prompts })
0 commit comments