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
Original file line number Diff line number Diff line change
Expand Up @@ -1741,6 +1741,7 @@ public static FormBody.Builder toForm(ChatStopStreamRequest req) {
if (req.getBlocksAsString() != null && req.getBlocks() != null) {
log.warn("Although you set both blocksAsString and blocks, only blocksAsString was used.");
}
setIfNotNull("session_status", req.getSessionStatus(), form);
return form;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,9 @@ public class ChatStopStreamRequest implements SlackApiRequest {
* A JSON-based array of structured blocks as a String that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.
*/
private String blocksAsString;

/**
* The session status to set after stopping the stream. Defaults to `active`.
*/
private String sessionStatus;
}
Loading