slackline/api/dnd/info

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

Setters for the optional arguments of dnd.info. Each setter takes the call that dnd.info returns and sets one argument:

dnd.info()
|> info.user("U1234")

Values

pub fn team_id(
  call: slackline.Call(dnd.Info, r),
  team_id: String,
) -> slackline.Call(dnd.Info, r)

Encoded team id where passed in user param belongs, required if org token is used. If no user param is passed, then a team which has access to the app should be passed

pub fn user(
  call: slackline.Call(dnd.Info, r),
  user: String,
) -> slackline.Call(dnd.Info, r)

User to fetch status for (defaults to current user)

✨ Search Document