slackline/api/usergroups/create

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

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

usergroups.create(name: "My Test Team")
|> create.channels(channels)

Values

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

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

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

Channel IDs the user group uses as defaults.

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

A short description of the User Group.

pub fn enable_section(
  call: slackline.Call(usergroups.Create, r),
  enable_section: Bool,
) -> slackline.Call(usergroups.Create, 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.Create, r),
  handle: String,
) -> slackline.Call(usergroups.Create, r)

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

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

Include the number of users in each User Group.

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

Encoded team id where the user group has to be created, required if org token is used.

✨ Search Document