diff --git a/.changeset/chat-stopstream-session-status.md b/.changeset/chat-stopstream-session-status.md new file mode 100644 index 000000000..c54f22d55 --- /dev/null +++ b/.changeset/chat-stopstream-session-status.md @@ -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 diff --git a/packages/web-api/src/types/request/chat.ts b/packages/web-api/src/types/request/chat.ts index 3a3d10462..265eee47c 100644 --- a/packages/web-api/src/types/request/chat.ts +++ b/packages/web-api/src/types/request/chat.ts @@ -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 {