slackline/api/agents/sessions_rename

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

Setters for the optional arguments of agents.sessions.rename. Each setter takes the call that agents.sessions_rename returns and sets one argument:

agents.sessions_rename(title: "title")
|> sessions_rename.channel_id("channel_id")

Values

pub fn channel_id(
  call: slackline.Call(agents.SessionsRename, r),
  channel_id: String,
) -> slackline.Call(agents.SessionsRename, r)

ID of the channel containing the agent session. Required for public channels.

pub fn thread_ts(
  call: slackline.Call(agents.SessionsRename, r),
  thread_ts: String,
) -> slackline.Call(agents.SessionsRename, r)

Timestamp of the thread root message the session is scoped to. Required for thread-based sessions in regular channels and DMs. Must be omitted for session channels.

✨ Search Document