Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/chat-stopstream-session-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/web-api": minor
---

feat(web-api): add `session_status` to [`chat.stopStream`](https://docs.slack.dev/reference/methods/chat.stopStream) arguments
4 changes: 4 additions & 0 deletions packages/web-api/src/types/request/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ export type ChatStopStreamArguments = TokenOverridable &
* Block formatted elements will be appended to the end of the message.
*/
blocks?: (KnownBlock | Block)[];
/**
* @description The session status to set after stopping the stream. Defaults to `active`.
*/
session_status?: string;
};

export interface SourceAndUnfurlID {
Expand Down