slackline/api/admin/analytics/slackbot_tools

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

Setters for the optional arguments of admin.analytics.slackbot.tools. Each setter takes the call that analytics.slackbot_tools returns and sets one argument:

analytics.slackbot_tools()
|> slackbot_tools.date("2026-09-13")

Values

pub fn cursor(
  call: slackline.Call(analytics.SlackbotTools, r),
  cursor: String,
) -> slackline.Call(analytics.SlackbotTools, 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.

pub fn date(
  call: slackline.Call(analytics.SlackbotTools, r),
  date: String,
) -> slackline.Call(analytics.SlackbotTools, r)

The date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC. If not provided, defaults to the latest date with available data. The response’s available_date_range gives the earliest and latest dates you can request.

pub fn limit(
  call: slackline.Call(analytics.SlackbotTools, r),
  limit: Int,
) -> slackline.Call(analytics.SlackbotTools, r)

Maximum number of tool entries to return per page, counted across all rows. Defaults to 500. Max allowed is 1000. Defaults to 500.

✨ Search Document