File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,7 +223,18 @@ export interface ChatStartStreamArguments
223223 Channel ,
224224 Partial < ThreadTS > ,
225225 Partial < MarkdownText > ,
226- Unfurls { }
226+ Unfurls {
227+ /**
228+ * @description The ID of the team that is associated with `recipient_user_id`.
229+ * This is required when starting a streaming conversation outside of a DM.
230+ */
231+ recipient_team_id ?: string ;
232+ /**
233+ * @description The ID of the user to receive the streaming conversation messages.
234+ * This is required when starting a streaming conversation outside of a DM.
235+ */
236+ recipient_user_id ?: string ;
237+ }
227238
228239export type ChatStopStreamArguments = TokenOverridable &
229240 ChannelAndTS &
Original file line number Diff line number Diff line change @@ -608,6 +608,16 @@ expectAssignable<Parameters<typeof web.chat.startStream>>([
608608 unfurl_media : false ,
609609 } ,
610610] ) ;
611+ expectAssignable < Parameters < typeof web . chat . startStream > > ( [
612+ {
613+ channel : 'C1234' ,
614+ markdown_text : 'hello' ,
615+ unfurl_links : true ,
616+ unfurl_media : false ,
617+ recipient_team_id : 'T1234' ,
618+ recipient_user_id : 'U1234' ,
619+ } ,
620+ ] ) ;
611621
612622// chat.stopStream
613623// -- sad path
You can’t perform that action at this time.
0 commit comments