slackline/api/slack_lists

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

Slack Lists: create and update Lists, manage access, edit items and export Lists.

Types

Identifies slackLists.access.delete in the slackline.Call that access_delete returns.

pub type AccessDelete

A successful response from slackLists.access.delete.

pub type AccessDeleteResponse {
  AccessDeleteResponse(
    failed_to_update_channel_ids: option.Option(List(String)),
    failed_to_update_user_ids: option.Option(List(String)),
  )
}

Constructors

  • AccessDeleteResponse(
      failed_to_update_channel_ids: option.Option(List(String)),
      failed_to_update_user_ids: option.Option(List(String)),
    )

    Arguments

    failed_to_update_channel_ids

    Channels whose access could not be revoked.

    failed_to_update_user_ids

    Users whose access could not be revoked.

Identifies slackLists.access.set in the slackline.Call that access_set returns.

pub type AccessSet

Identifies slackLists.create in the slackline.Call that create returns.

pub type Create

A successful response from slackLists.create.

pub type CreateResponse {
  CreateResponse(
    list_id: String,
    list_metadata: option.Option(ListMetadata),
  )
}

Constructors

  • CreateResponse(
      list_id: String,
      list_metadata: option.Option(ListMetadata),
    )

    Arguments

    list_metadata

    Columns of the new List.

Identifies slackLists.download.get in the slackline.Call that download_get returns.

pub type DownloadGet

A successful response from slackLists.download.get.

pub type DownloadGetResponse {
  DownloadGetResponse(
    status: option.Option(String),
    download_url: option.Option(String),
  )
}

Constructors

  • DownloadGetResponse(
      status: option.Option(String),
      download_url: option.Option(String),
    )

    Arguments

    status

    Status of the export job, such as COMPLETED.

    download_url

    Where to download the export once complete.

Identifies slackLists.download.start in the slackline.Call that download_start returns.

pub type DownloadStart

A successful response from slackLists.download.start.

pub type DownloadStartResponse {
  DownloadStartResponse(job_id: String)
}

Constructors

  • DownloadStartResponse(job_id: String)

    Arguments

    job_id

    Pass to slackLists.download.get.

Identifies slackLists.items.create in the slackline.Call that items_create returns.

pub type ItemsCreate

A successful response from slackLists.items.create.

pub type ItemsCreateResponse {
  ItemsCreateResponse(item: ListItem)
}

Constructors

Identifies slackLists.items.delete in the slackline.Call that items_delete returns.

pub type ItemsDelete

Identifies slackLists.items.deleteMultiple in the slackline.Call that items_delete_multiple returns.

pub type ItemsDeleteMultiple

Identifies slackLists.items.info in the slackline.Call that items_info returns.

pub type ItemsInfo

A successful response from slackLists.items.info.

pub type ItemsInfoResponse {
  ItemsInfoResponse(
    list: option.Option(ListFile),
    record: ListItem,
    subtasks: option.Option(List(ListItem)),
  )
}

Constructors

Identifies slackLists.items.list in the slackline.Call that items_list returns.

pub type ItemsList

A successful response from slackLists.items.list.

pub type ItemsListResponse {
  ItemsListResponse(
    items: option.Option(List(ListItem)),
    list: option.Option(ListFile),
    response_metadata: option.Option(slackline.ResponseMetadata),
  )
}

Constructors

Identifies slackLists.items.update in the slackline.Call that items_update returns.

pub type ItemsUpdate

A canvas section referenced by a reference cell.

pub type ListCanvasSectionReference {
  ListCanvasSectionReference(file_id: String, section_id: String)
}

Constructors

  • ListCanvasSectionReference(file_id: String, section_id: String)

A cell value to write. Set column_id and one typed value.

pub type ListCellInput {
  ListCellInput(
    column_id: String,
    row_id: option.Option(String),
    row_id_to_create: option.Option(Bool),
    rich_text: option.Option(List(block.Block)),
    user: option.Option(List(String)),
    date: option.Option(List(String)),
    select: option.Option(List(String)),
    checkbox: option.Option(Bool),
    number: option.Option(List(Float)),
    email: option.Option(List(String)),
    phone: option.Option(List(String)),
    attachment: option.Option(List(String)),
    link: option.Option(List(ListLinkInput)),
    message: option.Option(List(String)),
    rating: option.Option(List(Int)),
    timestamp: option.Option(List(Int)),
    channel: option.Option(List(String)),
    reference: option.Option(List(ListReference)),
  )
}

Constructors

An option of a select column.

pub type ListChoice {
  ListChoice(
    value: String,
    label: String,
    color: option.Option(String),
  )
}

Constructors

  • ListChoice(
      value: String,
      label: String,
      color: option.Option(String),
    )

    Arguments

    value

    Value for the option.

    label

    Label of the option displayed in the List.

    color

    Color of the option: indigo, blue, cyan, pink, yellow, green, gray, red, purple, orange or brown.

A column of a List.

pub type ListColumn {
  ListColumn(
    id: String,
    key: option.Option(String),
    name: option.Option(String),
    type_: option.Option(String),
    is_primary_column: option.Option(Bool),
    options: option.Option(ListColumnOptions),
  )
}

Constructors

  • ListColumn(
      id: String,
      key: option.Option(String),
      name: option.Option(String),
      type_: option.Option(String),
      is_primary_column: option.Option(Bool),
      options: option.Option(ListColumnOptions),
    )

    Arguments

    id

    Encoded column ID.

    key

    Key of the column.

    name

    Name of the column displayed in the List.

    type_

    Column type, such as text, rich_text, number, select, todo_completed or rating.

    is_primary_column

    Whether the column is the primary column.

    options

    Column options.

Default values for some columns.

pub type ListColumnDefaultValue {
  ListColumnDefaultValue(
    user: option.Option(List(String)),
    channel: option.Option(List(String)),
    select: option.Option(List(String)),
  )
}

Constructors

  • ListColumnDefaultValue(
      user: option.Option(List(String)),
      channel: option.Option(List(String)),
      select: option.Option(List(String)),
    )

    Arguments

    user

    Default user IDs for a people column.

    channel

    Default channel IDs for a channel column.

    select

    Default select values. Each must be a value from choices.

A column to create with slackLists.create.

pub type ListColumnInput {
  ListColumnInput(
    key: String,
    name: String,
    type_: String,
    is_primary_column: option.Option(Bool),
    options: option.Option(ListColumnOptions),
  )
}

Constructors

  • ListColumnInput(
      key: String,
      name: String,
      type_: String,
      is_primary_column: option.Option(Bool),
      options: option.Option(ListColumnOptions),
    )

    Arguments

    key

    Key of the column.

    name

    Name of the column displayed in the List.

    type_

    Column type, such as text, number, select, date, user, checkbox or rating.

    is_primary_column

    Whether the column is the primary column. It must be a text column.

    options

    Column options.

Options of a List column.

pub type ListColumnOptions {
  ListColumnOptions(
    choices: option.Option(List(ListChoice)),
    format: option.Option(String),
    precision: option.Option(Int),
    date_format: option.Option(String),
    emoji: option.Option(String),
    emoji_team_id: option.Option(String),
    max: option.Option(Int),
    default_value_typed: option.Option(ListColumnDefaultValue),
    default_value: option.Option(value.Value),
    show_member_name: option.Option(Bool),
    notify_users: option.Option(Bool),
  )
}

Constructors

  • ListColumnOptions(
      choices: option.Option(List(ListChoice)),
      format: option.Option(String),
      precision: option.Option(Int),
      date_format: option.Option(String),
      emoji: option.Option(String),
      emoji_team_id: option.Option(String),
      max: option.Option(Int),
      default_value_typed: option.Option(ListColumnDefaultValue),
      default_value: option.Option(value.Value),
      show_member_name: option.Option(Bool),
      notify_users: option.Option(Bool),
    )

    Arguments

    choices

    Options of a select column.

    format

    single_select, multi_select, single_entity or multi_entity.

    precision

    Number of decimal places of a number column.

    date_format

    Date format of a date column, such as default or DD/MM/YYYY.

    emoji

    Emoji displayed by rating and vote columns, such as :star:.

    emoji_team_id

    The team the emoji belongs to.

    max

    Maximum value of a rating column.

    default_value_typed

    Typed default values for the column.

    default_value

    Default value, as returned in responses.

    show_member_name

    Whether entity names are shown in people, channel and canvas columns. Defaults to true.

    notify_users

    Whether users are notified when a people column is updated.

How a List was created.

pub type ListCreationSource {
  ListCreationSource(
    type_: option.Option(String),
    reference_id: option.Option(String),
  )
}

Constructors

  • ListCreationSource(
      type_: option.Option(String),
      reference_id: option.Option(String),
    )

    Arguments

    type_

    Such as copy_from_list.

    reference_id

    ID of the source, such as the copied List.

The value of one cell of a List item.

pub type ListField {
  ListField(
    key: option.Option(String),
    column_id: option.Option(String),
    value: option.Option(value.Value),
    text: option.Option(String),
    rich_text: option.Option(List(block.Block)),
    message: option.Option(List(ListMessageValue)),
    number: option.Option(List(Float)),
    select: option.Option(List(String)),
    date: option.Option(List(String)),
    user: option.Option(List(String)),
    channel: option.Option(List(String)),
    attachment: option.Option(List(String)),
    checkbox: option.Option(value.Value),
    email: option.Option(List(String)),
    phone: option.Option(List(String)),
    rating: option.Option(List(Int)),
    timestamp: option.Option(List(Int)),
    link: option.Option(List(ListLinkValue)),
    reference: option.Option(List(ListReference)),
  )
}

Constructors

A List, which is a file of type list.

pub type ListFile {
  ListFile(
    id: String,
    created: option.Option(Int),
    timestamp: option.Option(Int),
    updated: option.Option(Int),
    name: option.Option(String),
    title: option.Option(String),
    mimetype: option.Option(String),
    filetype: option.Option(String),
    pretty_type: option.Option(String),
    user: option.Option(String),
    user_team: option.Option(String),
    editable: option.Option(Bool),
    size: option.Option(Int),
    mode: option.Option(String),
    is_external: option.Option(Bool),
    external_type: option.Option(String),
    is_public: option.Option(Bool),
    public_url_shared: option.Option(Bool),
    display_as_bot: option.Option(Bool),
    username: option.Option(String),
    list_metadata: option.Option(ListMetadata),
    list_limits: option.Option(ListLimits),
    url_private: option.Option(String),
    url_private_download: option.Option(String),
    permalink: option.Option(String),
    permalink_public: option.Option(String),
    last_editor: option.Option(String),
    list_csv_download_url: option.Option(String),
    is_starred: option.Option(Bool),
    skipped_shares: option.Option(Bool),
    teams_shared_with: option.Option(List(String)),
    is_restricted_sharing_enabled: option.Option(Bool),
    has_rich_preview: option.Option(Bool),
    file_access: option.Option(String),
    access: option.Option(String),
    org_or_workspace_access: option.Option(String),
    is_ai_suggested: option.Option(Bool),
  )
}

Constructors

A file referenced by a reference cell.

pub type ListFileReference {
  ListFileReference(file_id: String)
}

Constructors

  • ListFileReference(file_id: String)

A List item (row).

pub type ListItem {
  ListItem(
    id: String,
    list_id: option.Option(String),
    date_created: option.Option(Int),
    created_by: option.Option(String),
    updated_by: option.Option(String),
    updated_timestamp: option.Option(String),
    parent_record_id: option.Option(String),
    archived: option.Option(Bool),
    is_subscribed: option.Option(Bool),
    fields: option.Option(List(ListField)),
    saved: option.Option(ListSavedReminder),
    saved_fields: option.Option(
      dict.Dict(String, ListSavedReminder),
    ),
  )
}

Constructors

Size limits and counts of a List.

pub type ListLimits {
  ListLimits(
    over_row_maximum: option.Option(Bool),
    row_count_limit: option.Option(Int),
    row_count: option.Option(Int),
    archived_row_count: option.Option(Int),
    over_column_maximum: option.Option(Bool),
    column_count: option.Option(Int),
    column_count_limit: option.Option(Int),
    over_view_maximum: option.Option(Bool),
    view_count: option.Option(Int),
    view_count_limit: option.Option(Int),
    max_attachments_per_cell: option.Option(Int),
  )
}

Constructors

A link to set in a link cell.

pub type ListLinkInput {
  ListLinkInput(
    original_url: String,
    display_as_url: option.Option(Bool),
    display_name: option.Option(String),
  )
}

Constructors

A link in a link cell, as returned.

pub type ListLinkValue {
  ListLinkValue(
    original_url: option.Option(String),
    attachment: option.Option(value.Value),
    display_as_url: option.Option(Bool),
    display_name: option.Option(String),
  )
}

Constructors

  • ListLinkValue(
      original_url: option.Option(String),
      attachment: option.Option(value.Value),
      display_as_url: option.Option(Bool),
      display_name: option.Option(String),
    )

    Arguments

    original_url

    The link URL.

    attachment

    Metadata retrieved from the link URL.

    display_as_url

    If true, the URL is displayed instead of the website name.

    display_name

    The name to display in the cell.

A message referenced by a reference cell.

pub type ListMessageReference {
  ListMessageReference(
    channel_id: String,
    ts: String,
    thread_ts: option.Option(String),
  )
}

Constructors

  • ListMessageReference(
      channel_id: String,
      ts: String,
      thread_ts: option.Option(String),
    )

A message referenced by a message cell.

pub type ListMessageValue {
  ListMessageValue(
    value: option.Option(String),
    channel_id: option.Option(String),
    ts: option.Option(String),
    thread_ts: option.Option(String),
  )
}

Constructors

Structure and settings of a List.

pub type ListMetadata {
  ListMetadata(
    schema: option.Option(List(ListColumn)),
    subtask_schema: option.Option(List(ListColumn)),
    views: option.Option(List(ListView)),
    integrations: option.Option(List(value.Value)),
    icon: option.Option(String),
    description: option.Option(String),
    description_blocks: option.Option(List(block.Block)),
    is_trial: option.Option(Bool),
    creation_source: option.Option(ListCreationSource),
    todo_mode: option.Option(Bool),
    default_view: option.Option(String),
  )
}

Constructors

A List item referenced by a reference cell.

pub type ListRecordReference {
  ListRecordReference(list_id: String, row_id: String)
}

Constructors

  • ListRecordReference(list_id: String, row_id: String)

A reference to another entity in a reference cell. Set one field.

pub type ListReference {
  ListReference(
    message: option.Option(ListMessageReference),
    list_record: option.Option(ListRecordReference),
    file: option.Option(ListFileReference),
    canvas_section: option.Option(ListCanvasSectionReference),
  )
}

Constructors

Reminder information for a List item or cell.

pub type ListSavedReminder {
  ListSavedReminder(
    is_archived: option.Option(Bool),
    date_due: option.Option(Int),
    date_completed: option.Option(Int),
    state: option.Option(String),
  )
}

Constructors

A view of a List.

pub type ListView {
  ListView(
    id: String,
    name: option.Option(String),
    type_: option.Option(String),
    is_locked: option.Option(Bool),
    position: option.Option(String),
    columns: option.Option(List(ListViewColumn)),
    date_created: option.Option(Int),
    created_by: option.Option(String),
    stick_column_left: option.Option(Bool),
    is_all_items_view: option.Option(Bool),
    default_view_key: option.Option(String),
    show_completed_items: option.Option(Bool),
  )
}

Constructors

A column as placed in a List view.

pub type ListViewColumn {
  ListViewColumn(
    id: String,
    key: option.Option(String),
    visible: option.Option(Bool),
    position: option.Option(String),
  )
}

Constructors

Identifies slackLists.update in the slackline.Call that update returns.

pub type Update

Values

pub fn access_delete(
  list_id list_id: String,
) -> slackline.Call(AccessDelete, AccessDeleteResponse)

slackLists.access.delete: Revoke access to a List for specified entities.

slack_lists.AccessDelete identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/access_delete.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t3.

Documented errors: channel_not_found, failed_to_update_user_ids, invalid_parameters, list_not_found, lists_disabled_user_team, restricted_action, user_not_found.

pub fn access_delete_response_decoder() -> decode.Decoder(
  AccessDeleteResponse,
)

Decodes the response from slackLists.access.delete.

pub fn access_set(
  list_id list_id: String,
  access_level access_level: String,
) -> slackline.Call(AccessSet, Nil)

slackLists.access.set: Set the access level to a List for specified entities.

slack_lists.AccessSet identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/access_set.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t3.

Documented errors: channel_not_found, failed_to_update_user_ids, invalid_parameters, list_not_found, lists_disabled_user_team, restricted_action, user_not_found.

pub fn create(
  name name: String,
) -> slackline.Call(Create, CreateResponse)

slackLists.create: Create a List.

slack_lists.Create identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/create.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t2.

Documented errors: invalid_column_type, invalid_copy_and_schema_args, invalid_primary_column, invalid_schema, invalid_view_metadata, list_not_found, missing_arg_copy_from_list_id, over_column_maximum, over_list_file_maximum, over_title_length_maximum, permission_denied, team_not_found, user_not_found.

pub fn create_response_decoder() -> decode.Decoder(CreateResponse)

Decodes the response from slackLists.create.

pub fn download_get(
  list_id list_id: String,
  job_id job_id: String,
) -> slackline.Call(DownloadGet, DownloadGetResponse)

slackLists.download.get: Retrieve List download URL from an export job to download List contents.

slack_lists.DownloadGet identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/download_get.

Bot token scopes: lists:read. User token scopes: lists:read.

Rate limit tier: t4.

Documented errors: job_not_found, list_not_found, permission_denied, unknown_method.

pub fn download_get_response_decoder() -> decode.Decoder(
  DownloadGetResponse,
)

Decodes the response from slackLists.download.get.

pub fn download_start(
  list_id list_id: String,
) -> slackline.Call(DownloadStart, DownloadStartResponse)

slackLists.download.start: Initiate a job to export List contents.

slack_lists.DownloadStart identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/download_start.

Bot token scopes: lists:read. User token scopes: lists:read.

Rate limit tier: t2.

Documented errors: list_not_found, permission_denied, unknown_method.

pub fn download_start_response_decoder() -> decode.Decoder(
  DownloadStartResponse,
)

Decodes the response from slackLists.download.start.

pub fn items_create(
  list_id list_id: String,
) -> slackline.Call(ItemsCreate, ItemsCreateResponse)

slackLists.items.create: Add a new item to an existing List.

slack_lists.ItemsCreate identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/items_create.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t3.

Documented errors: channel_not_found, duplicated_item_not_found, file_not_found, invalid_args, invalid_attachment, invalid_column_id, invalid_date, invalid_email, invalid_input_type, invalid_message, invalid_option_id, invalid_phone_number, invalid_reference, invalid_text_block, invalid_timestamp, invalid_vote_value, list_not_found, over_cell_fields_limit, over_row_maximum, permission_denied, restricted_action, team_not_found, uneditable_column, user_not_found.

pub fn items_create_response_decoder() -> decode.Decoder(
  ItemsCreateResponse,
)

Decodes the response from slackLists.items.create.

pub fn items_delete(
  list_id list_id: String,
  id id: String,
) -> slackline.Call(ItemsDelete, Nil)

slackLists.items.delete: Deletes an item from an existing List.

slack_lists.ItemsDelete identifies this method in slackline.Call.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t2.

Documented errors: list_not_found, permission_denied, record_not_found, team_not_found, user_not_found.

pub fn items_delete_multiple(
  list_id list_id: String,
  ids ids: List(String),
) -> slackline.Call(ItemsDeleteMultiple, Nil)

slackLists.items.deleteMultiple: Deletes multiple items from an existing List.

slack_lists.ItemsDeleteMultiple identifies this method in slackline.Call.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t2.

Documented errors: list_not_found, permission_denied, team_not_found, user_not_found.

pub fn items_info(
  list_id list_id: String,
  id id: String,
) -> slackline.Call(ItemsInfo, ItemsInfoResponse)

slackLists.items.info: Get a row from a List.

slack_lists.ItemsInfo identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/items_info.

Bot token scopes: lists:read. User token scopes: lists:read.

Rate limit tier: t2.

Documented errors: list_not_found, record_deleted, record_not_found, team_not_found, user_not_found.

pub fn items_info_response_decoder() -> decode.Decoder(
  ItemsInfoResponse,
)

Decodes the response from slackLists.items.info.

pub fn items_list(
  list_id list_id: String,
) -> slackline.Call(ItemsList, ItemsListResponse)

slackLists.items.list: Get records from a List.

slack_lists.ItemsList identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/items_list.

Bot token scopes: lists:read. User token scopes: lists:read.

Rate limit tier: t2.

Documented errors: archive_not_supported, invalid_cursor, list_not_found, team_not_found, user_not_found.

pub fn items_list_response_decoder() -> decode.Decoder(
  ItemsListResponse,
)

Decodes the response from slackLists.items.list.

pub fn items_update(
  list_id list_id: String,
  cells cells: List(ListCellInput),
) -> slackline.Call(ItemsUpdate, Nil)

slackLists.items.update: Updates cells in a List.

slack_lists.ItemsUpdate identifies this method in slackline.Call.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t3.

Documented errors: channel_not_found, column_id_not_provided, column_not_found, file_not_found, invalid_attachment, invalid_blocks, invalid_column_id, invalid_date, invalid_email, invalid_input_type, invalid_link, invalid_message, invalid_option_id, invalid_phone_number, invalid_row_id, invalid_text_block, invalid_vote_value, list_not_found, over_cell_fields_limit, permission_denied, row_id_not_provided, row_not_found, team_not_found, uneditable_column, user_not_found.

pub fn list_canvas_section_reference_decoder() -> decode.Decoder(
  ListCanvasSectionReference,
)

Decodes ListCanvasSectionReference from json.

pub fn list_canvas_section_reference_to_json(
  it: ListCanvasSectionReference,
) -> json.Json

Encodes ListCanvasSectionReference as json.

pub fn list_cell_input_decoder() -> decode.Decoder(ListCellInput)

Decodes ListCellInput from json.

pub fn list_cell_input_to_json(it: ListCellInput) -> json.Json

Encodes ListCellInput as json.

pub fn list_choice_decoder() -> decode.Decoder(ListChoice)

Decodes ListChoice from json.

pub fn list_choice_to_json(it: ListChoice) -> json.Json

Encodes ListChoice as json.

pub fn list_column_decoder() -> decode.Decoder(ListColumn)

Decodes ListColumn from json.

pub fn list_column_default_value_decoder() -> decode.Decoder(
  ListColumnDefaultValue,
)

Decodes ListColumnDefaultValue from json.

pub fn list_column_default_value_to_json(
  it: ListColumnDefaultValue,
) -> json.Json

Encodes ListColumnDefaultValue as json.

pub fn list_column_input_decoder() -> decode.Decoder(
  ListColumnInput,
)

Decodes ListColumnInput from json.

pub fn list_column_input_to_json(
  it: ListColumnInput,
) -> json.Json

Encodes ListColumnInput as json.

pub fn list_column_options_decoder() -> decode.Decoder(
  ListColumnOptions,
)

Decodes ListColumnOptions from json.

pub fn list_column_options_to_json(
  it: ListColumnOptions,
) -> json.Json

Encodes ListColumnOptions as json.

pub fn list_column_to_json(it: ListColumn) -> json.Json

Encodes ListColumn as json.

pub fn list_creation_source_decoder() -> decode.Decoder(
  ListCreationSource,
)

Decodes ListCreationSource from json.

pub fn list_creation_source_to_json(
  it: ListCreationSource,
) -> json.Json

Encodes ListCreationSource as json.

pub fn list_field_decoder() -> decode.Decoder(ListField)

Decodes ListField from json.

pub fn list_field_to_json(it: ListField) -> json.Json

Encodes ListField as json.

pub fn list_file_decoder() -> decode.Decoder(ListFile)

Decodes ListFile from json.

pub fn list_file_reference_decoder() -> decode.Decoder(
  ListFileReference,
)

Decodes ListFileReference from json.

pub fn list_file_reference_to_json(
  it: ListFileReference,
) -> json.Json

Encodes ListFileReference as json.

pub fn list_file_to_json(it: ListFile) -> json.Json

Encodes ListFile as json.

pub fn list_item_decoder() -> decode.Decoder(ListItem)

Decodes ListItem from json.

pub fn list_item_to_json(it: ListItem) -> json.Json

Encodes ListItem as json.

pub fn list_limits_decoder() -> decode.Decoder(ListLimits)

Decodes ListLimits from json.

pub fn list_limits_to_json(it: ListLimits) -> json.Json

Encodes ListLimits as json.

pub fn list_link_input_decoder() -> decode.Decoder(ListLinkInput)

Decodes ListLinkInput from json.

pub fn list_link_input_to_json(it: ListLinkInput) -> json.Json

Encodes ListLinkInput as json.

pub fn list_link_value_decoder() -> decode.Decoder(ListLinkValue)

Decodes ListLinkValue from json.

pub fn list_link_value_to_json(it: ListLinkValue) -> json.Json

Encodes ListLinkValue as json.

pub fn list_message_reference_decoder() -> decode.Decoder(
  ListMessageReference,
)

Decodes ListMessageReference from json.

pub fn list_message_reference_to_json(
  it: ListMessageReference,
) -> json.Json

Encodes ListMessageReference as json.

pub fn list_message_value_decoder() -> decode.Decoder(
  ListMessageValue,
)

Decodes ListMessageValue from json.

pub fn list_message_value_to_json(
  it: ListMessageValue,
) -> json.Json

Encodes ListMessageValue as json.

pub fn list_metadata_decoder() -> decode.Decoder(ListMetadata)

Decodes ListMetadata from json.

pub fn list_metadata_to_json(it: ListMetadata) -> json.Json

Encodes ListMetadata as json.

pub fn list_record_reference_decoder() -> decode.Decoder(
  ListRecordReference,
)

Decodes ListRecordReference from json.

pub fn list_record_reference_to_json(
  it: ListRecordReference,
) -> json.Json

Encodes ListRecordReference as json.

pub fn list_reference_decoder() -> decode.Decoder(ListReference)

Decodes ListReference from json.

pub fn list_reference_to_json(it: ListReference) -> json.Json

Encodes ListReference as json.

pub fn list_saved_reminder_decoder() -> decode.Decoder(
  ListSavedReminder,
)

Decodes ListSavedReminder from json.

pub fn list_saved_reminder_to_json(
  it: ListSavedReminder,
) -> json.Json

Encodes ListSavedReminder as json.

pub fn list_view_column_decoder() -> decode.Decoder(
  ListViewColumn,
)

Decodes ListViewColumn from json.

pub fn list_view_column_to_json(it: ListViewColumn) -> json.Json

Encodes ListViewColumn as json.

pub fn list_view_decoder() -> decode.Decoder(ListView)

Decodes ListView from json.

pub fn list_view_to_json(it: ListView) -> json.Json

Encodes ListView as json.

pub fn update(id id: String) -> slackline.Call(Update, Nil)

slackLists.update: Update a List.

slack_lists.Update identifies this method in slackline.Call.

Set optional arguments with the functions in slackline/api/slack_lists/update.

Bot token scopes: lists:write. User token scopes: lists:write.

Rate limit tier: t2.

Documented errors: file_channel_rename_error, list_editor_upsert_error, list_edits_update_error, list_not_found, missing_arguments, over_title_length_maximum, permission_denied, team_not_found, unexpected_description_blocks_arg, user_not_found.

✨ Search Document