slackline/api/admin/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 admin.usergroups.create. Each setter takes the call that usergroups.create returns and sets one argument:

usergroups.create(name: "name")
|> create.handle("handle")

Values

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

Optional handle used to mention the usergroup in channel, must be unique

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

Configure whether or not this usergroup should be visible in the client

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

Optional purpose that describes what the usergroup is about

✨ Search Document