@@ -2015,6 +2015,49 @@ def tooling_tokens_rotate(
20152015 kwargs .update ({"refresh_token" : refresh_token })
20162016 return self .api_call ("tooling.tokens.rotate" , params = kwargs )
20172017
2018+ def assistant_threads_setStatus (
2019+ self ,
2020+ * ,
2021+ channel_id : str ,
2022+ thread_ts : str ,
2023+ status : str ,
2024+ ** kwargs ,
2025+ ) -> Union [Future , SlackResponse ]:
2026+ """Revokes a token.
2027+ https://api.slack.com/methods/assistant.threads.setStatus
2028+ """
2029+ kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "status" : status })
2030+ return self .api_call ("assistant.threads.setStatus" , params = kwargs )
2031+
2032+ def assistant_threads_setTitle (
2033+ self ,
2034+ * ,
2035+ channel_id : str ,
2036+ thread_ts : str ,
2037+ title : str ,
2038+ ** kwargs ,
2039+ ) -> Union [Future , SlackResponse ]:
2040+ """Revokes a token.
2041+ https://api.slack.com/methods/assistant.threads.setTitle
2042+ """
2043+ kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "title" : title })
2044+ return self .api_call ("assistant.threads.setTitle" , params = kwargs )
2045+
2046+ def assistant_threads_setSuggestedPrompts (
2047+ self ,
2048+ * ,
2049+ channel_id : str ,
2050+ thread_ts : str ,
2051+ title : Optional [str ] = None ,
2052+ prompts : List [Dict [str , str ]],
2053+ ** kwargs ,
2054+ ) -> Union [Future , SlackResponse ]:
2055+ """Revokes a token.
2056+ https://api.slack.com/methods/assistant.threads.setSuggestedPrompts
2057+ """
2058+ kwargs .update ({"channel_id" : channel_id , "thread_ts" : thread_ts , "title" : title , "prompts" : prompts })
2059+ return self .api_call ("assistant.threads.setSuggestedPrompts" , json = kwargs )
2060+
20182061 def auth_revoke (
20192062 self ,
20202063 * ,
0 commit comments