slackline/api/admin/conversations/set_teams

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

Setters for the optional arguments of admin.conversations.setTeams. Each setter takes the call that conversations.set_teams returns and sets one argument:

conversations.set_teams(channel_id: "channel_id")
|> set_teams.team_id("team_id")

Values

pub fn org_channel(
  call: slackline.Call(conversations.SetTeams, r),
  org_channel: Bool,
) -> slackline.Call(conversations.SetTeams, r)

True if channel has to be converted to an org channel Defaults to false.

pub fn target_team_ids(
  call: slackline.Call(conversations.SetTeams, r),
  target_team_ids: List(String),
) -> slackline.Call(conversations.SetTeams, r)

A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.

pub fn team_id(
  call: slackline.Call(conversations.SetTeams, r),
  team_id: String,
) -> slackline.Call(conversations.SetTeams, r)

The workspace to which the channel belongs if the channel is a local workspace channel. Omit this argument if the channel is a cross-workspace or org-wide shared channel.

✨ Search Document