slackline/api/admin/users/session_set_settings
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.setSettings.
Each setter takes the call that users.session_set_settings returns and
sets one argument:
users.session_set_settings(user_ids: user_ids)
|> session_set_settings.duration(86400)
Values
pub fn desktop_app_browser_quit(
call: slackline.Call(users.SessionSetSettings, r),
desktop_app_browser_quit: Bool,
) -> slackline.Call(users.SessionSetSettings, r)
Terminate the session when the client—either the desktop app or a browser window—is closed.
pub fn duration(
call: slackline.Call(users.SessionSetSettings, r),
duration: Int,
) -> slackline.Call(users.SessionSetSettings, r)
The session duration, in seconds. The minimum value is 28800, which represents 8 hours; the max value is 315569520 or 10 years (that’s a long Slack session).