slackline/api/usergroups/update

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

Setters for the optional arguments of usergroups.update. Each setter takes the call that usergroups.update returns and sets one argument:

usergroups.update(usergroup: "S0604QSJC")
|> update.channels(channels)

Values

pub fn additional_channels(
  call: slackline.Call(usergroups.Update, r),
  additional_channels: List(String),
) -> slackline.Call(usergroups.Update, r)

Channel IDs the user group can custom add usergroup members to.

pub fn channels(
  call: slackline.Call(usergroups.Update, r),
  channels: List(String),
) -> slackline.Call(usergroups.Update, r)

Channel IDs the user group uses as defaults.

pub fn description(
  call: slackline.Call(usergroups.Update, r),
  description: String,
) -> slackline.Call(usergroups.Update, r)

A short description of the User Group.

pub fn enable_section(
  call: slackline.Call(usergroups.Update, r),
  enable_section: Bool,
) -> slackline.Call(usergroups.Update, r)

Configure this user group to show as a sidebar section for all group members. Note: Only relevant if group has 1 or more default channels added.

pub fn handle(
  call: slackline.Call(usergroups.Update, r),
  handle: String,
) -> slackline.Call(usergroups.Update, r)

A mention handle. Must be unique among channels, users and User Groups.

pub fn include_count(
  call: slackline.Call(usergroups.Update, r),
  include_count: Bool,
) -> slackline.Call(usergroups.Update, r)

Include the number of users in the User Group.

pub fn name(
  call: slackline.Call(usergroups.Update, r),
  name: String,
) -> slackline.Call(usergroups.Update, r)

A name for the User Group. Must be unique among User Groups.

pub fn team_id(
  call: slackline.Call(usergroups.Update, r),
  team_id: String,
) -> slackline.Call(usergroups.Update, r)

encoded team id where the user group exists, required if org token is used

✨ Search Document