slackline/api/admin/users/session_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.users.session.list.
Each setter takes the call that users.session_list returns and sets one
argument:
users.session_list()
|> session_list.team_id("T1234")
Values
pub fn cursor(
call: slackline.Call(users.SessionList, r),
cursor: String,
) -> slackline.Call(users.SessionList, r)
Set cursor to next_cursor returned by the previous call to list items in
the next page.
pub fn limit(
call: slackline.Call(users.SessionList, r),
limit: Int,
) -> slackline.Call(users.SessionList, r)
The maximum number of items to return. Must be between 1 - 1000 both
inclusive. Defaults to 1000.
pub fn team_id(
call: slackline.Call(users.SessionList, r),
team_id: String,
) -> slackline.Call(users.SessionList, r)
The ID of the workspace you’d like active sessions for. If you pass a
team_id, you’ll need to pass a user_id as well.
pub fn user_id(
call: slackline.Call(users.SessionList, r),
user_id: String,
) -> slackline.Call(users.SessionList, r)
The ID of user you’d like active sessions for. If you pass a user_id,
you’ll need to pass a team_id as well.