slackline/api/files/remote_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.remote.list. Each setter takes the call that files.remote_list returns and sets one argument:

files.remote_list()
|> remote_list.channel("channel")

Values

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

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

pub fn cursor(
  call: slackline.Call(files.RemoteList, r),
  cursor: String,
) -> slackline.Call(files.RemoteList, r)

Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request’s response_metadata. Default value fetches the first “page” of the collection. See pagination for more detail.

pub fn limit(
  call: slackline.Call(files.RemoteList, r),
  limit: Int,
) -> slackline.Call(files.RemoteList, r)

The maximum number of items to return.

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

Filter files created after this timestamp (inclusive). Defaults to 0.

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

Filter files created before this timestamp (inclusive). Defaults to now.

✨ Search Document