slackline/api/files/list

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

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

import slackline/api/files/list as files_list

files.list()
|> files_list.channel("channel")

Values

pub fn channel(
  call: slackline.Call(files.ListMethod, r),
  channel: String,
) -> slackline.Call(files.ListMethod, r)

Filter files appearing in a specific channel, indicated by its ID.

pub fn count(
  call: slackline.Call(files.ListMethod, r),
  count: Int,
) -> slackline.Call(files.ListMethod, r)

Defaults to 100.

pub fn page(
  call: slackline.Call(files.ListMethod, r),
  page: Int,
) -> slackline.Call(files.ListMethod, r)

Defaults to 1.

pub fn show_files_hidden_by_limit(
  call: slackline.Call(files.ListMethod, r),
  show_files_hidden_by_limit: Bool,
) -> slackline.Call(files.ListMethod, r)

Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit.

pub fn team_id(
  call: slackline.Call(files.ListMethod, r),
  team_id: String,
) -> slackline.Call(files.ListMethod, r)

encoded team id to list files in, required if org token is used

pub fn ts_from(
  call: slackline.Call(files.ListMethod, r),
  ts_from: String,
) -> slackline.Call(files.ListMethod, r)

Filter files created after this timestamp (inclusive).

pub fn ts_to(
  call: slackline.Call(files.ListMethod, r),
  ts_to: String,
) -> slackline.Call(files.ListMethod, r)

Filter files created before this timestamp (inclusive).

pub fn types(
  call: slackline.Call(files.ListMethod, r),
  types: List(String),
) -> slackline.Call(files.ListMethod, r)

Filter files by type: all (default), spaces, snippets, images, gdocs, zips or pdfs.

pub fn user(
  call: slackline.Call(files.ListMethod, r),
  user: String,
) -> slackline.Call(files.ListMethod, r)

Filter files created by a single user.

✨ Search Document