slackline/api/admin/functions/list
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
admin.functions.list.
Each setter takes the call that functions.list returns and sets one
argument:
import slackline/api/admin/functions/list as functions_list
functions.list(app_ids: app_ids)
|> functions_list.team_id("T00000001")
Values
pub fn cursor(
call: slackline.Call(functions.ListMethod, r),
cursor: String,
) -> slackline.Call(functions.ListMethod, r)
Set cursor to next_cursor returned by the previous call to list items in
the next page.
pub fn include_non_distributed_functions(
call: slackline.Call(functions.ListMethod, r),
include_non_distributed_functions: Bool,
) -> slackline.Call(functions.ListMethod, r)
Whether to also include functions that are not yet distributed to any users in the function list. This is needed for admins that are approving an app request and will only work if the team owns the app.
pub fn limit(
call: slackline.Call(functions.ListMethod, r),
limit: Int,
) -> slackline.Call(functions.ListMethod, r)
The number of results that will be returned by the API on each invocation.
Must be between 1 and 1000, both inclusive. Defaults to 100.
pub fn team_id(
call: slackline.Call(functions.ListMethod, r),
team_id: String,
) -> slackline.Call(functions.ListMethod, r)
The team context to retrieve functions from.