slackline/api/admin/analytics/get_file
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.getFile.
Each setter takes the call that analytics.get_file returns and sets one
argument:
analytics.get_file(type_: type_)
|> get_file.date("2020-09-01")
Values
pub fn date(
call: slackline.Call(analytics.GetFile, r),
date: String,
) -> slackline.Call(analytics.GetFile, r)
Date to retrieve the analytics data for, as YYYY-MM-DD in UTC. Required
unless metadata_only is true.
pub fn metadata_only(
call: slackline.Call(analytics.GetFile, r),
metadata_only: Bool,
) -> slackline.Call(analytics.GetFile, r)
Retrieve metadata for the type of analytics indicated. Can be used only
with type set to public_channel analytics. See detail
below.
Omit the date parameter when using this argument. Defaults to false.