slackline/api/assistant/threads_set_suggested_prompts

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Setters for the optional arguments of assistant.threads.setSuggestedPrompts. Each setter takes the call that assistant.threads_set_suggested_prompts returns and sets one argument:

assistant.threads_set_suggested_prompts(channel_id: "channel_id", prompts: prompts)
|> threads_set_suggested_prompts.thread_ts("thread_ts")

Values

pub fn thread_ts(
  call: slackline.Call(assistant.ThreadsSetSuggestedPrompts, r),
  thread_ts: String,
) -> slackline.Call(assistant.ThreadsSetSuggestedPrompts, r)

Message timestamp of the thread to set suggested prompts for. If not provided, the prompts will be set for the latest message in the channel.

pub fn title(
  call: slackline.Call(assistant.ThreadsSetSuggestedPrompts, r),
  title: String,
) -> slackline.Call(assistant.ThreadsSetSuggestedPrompts, r)

Title for the list of provided prompts. For example: Suggested Prompts, Related Questions.

✨ Search Document