@@ -2889,6 +2889,7 @@ async def chat_startStream(
28892889 recipient_team_id : Optional [str ] = None ,
28902890 recipient_user_id : Optional [str ] = None ,
28912891 chunks : Optional [Sequence [Union [Dict , Chunk ]]] = None ,
2892+ task_display_mode : Optional [str ] = None , # timeline, plan
28922893 ** kwargs ,
28932894 ) -> AsyncSlackResponse :
28942895 """Starts a new streaming conversation.
@@ -2902,6 +2903,7 @@ async def chat_startStream(
29022903 "recipient_team_id" : recipient_team_id ,
29032904 "recipient_user_id" : recipient_user_id ,
29042905 "chunks" : chunks ,
2906+ "task_display_mode" : task_display_mode ,
29052907 }
29062908 )
29072909 _parse_web_class_objects (kwargs )
@@ -2944,6 +2946,7 @@ async def chat_stream(
29442946 thread_ts : str ,
29452947 recipient_team_id : Optional [str ] = None ,
29462948 recipient_user_id : Optional [str ] = None ,
2949+ task_display_mode : Optional [str ] = None ,
29472950 ** kwargs ,
29482951 ) -> AsyncChatStream :
29492952 """Stream markdown text into a conversation.
@@ -2970,6 +2973,8 @@ async def chat_stream(
29702973 recipient_team_id: The encoded ID of the team the user receiving the streaming text belongs to. Required when
29712974 streaming to channels.
29722975 recipient_user_id: The encoded ID of the user to receive the streaming text. Required when streaming to channels.
2976+ task_display_mode: Specifies how tasks are displayed in the message. A "timeline" displays individual tasks
2977+ interleaved with text and "plan" displays all tasks together.
29732978 **kwargs: Additional arguments passed to the underlying API calls.
29742979
29752980 Returns:
@@ -2995,6 +3000,7 @@ async def chat_stream(
29953000 thread_ts = thread_ts ,
29963001 recipient_team_id = recipient_team_id ,
29973002 recipient_user_id = recipient_user_id ,
3003+ task_display_mode = task_display_mode ,
29983004 buffer_size = buffer_size ,
29993005 ** kwargs ,
30003006 )
0 commit comments