Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(web-api): add new is_send_allowed optional parameter to assistant.threads.setStatus method #2079

Merged
merged 1 commit into from
Oct 28, 2024
Merged
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
2 changes: 2 additions & 0 deletions packages/web-api/src/types/request/assistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export interface AssistantThreadsSetStatusArguments extends TokenOverridable {
status: string;
/** @description Message timestamp of the thread. */
thread_ts: string;
/** @description Whether or not the user is allowed to send a message while the status is being displayed. Defaults to `false`. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the default doesn't render properly on the site,

Screenshot 2024-10-28 at 9 48 23 AM

then went to api docs to inquire, and saw that you'd already asked about it ❤️ great minds!!

is_send_allowed?: boolean;
}

// https://api.slack.com/methods/assistant.threads.setSuggestedPrompts
Expand Down