slackline/api/slack_lists/create

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

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

slack_lists.create(name: "My List")
|> create.description_blocks(description_blocks)

Values

pub fn copy_from_list_id(
  call: slackline.Call(slack_lists.Create, r),
  copy_from_list_id: String,
) -> slackline.Call(slack_lists.Create, r)

ID of the List to copy.

pub fn description_blocks(
  call: slackline.Call(slack_lists.Create, r),
  description_blocks: List(block.Block),
) -> slackline.Call(slack_lists.Create, r)

A rich text description of the List.

pub fn include_copied_list_records(
  call: slackline.Call(slack_lists.Create, r),
  include_copied_list_records: Bool,
) -> slackline.Call(slack_lists.Create, r)

Boolean indicating whether to include records when a List is copied.

pub fn schema(
  call: slackline.Call(slack_lists.Create, r),
  schema: List(slack_lists.ListColumnInput),
) -> slackline.Call(slack_lists.Create, r)

Column definition for the List.

pub fn todo_mode(
  call: slackline.Call(slack_lists.Create, r),
  todo_mode: Bool,
) -> slackline.Call(slack_lists.Create, r)

Boolean indicating whether the List should be used to track todo tasks.

✨ Search Document