slackline/api/users/profile_set

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

Setters for the optional arguments of users.profile.set. Each setter takes the call that users.profile_set returns and sets one argument:

users.profile_set()
|> profile_set.name("first_name")

Values

pub fn name(
  call: slackline.Call(users.ProfileSet, r),
  name: String,
) -> slackline.Call(users.ProfileSet, r)

Name of a single key to set. Usable only if profile is not passed.

pub fn profile(
  call: slackline.Call(users.ProfileSet, r),
  profile: users.ProfileUpdate,
) -> slackline.Call(users.ProfileSet, r)

The profile fields to set, at most 50. Use instead of name and value.

pub fn user(
  call: slackline.Call(users.ProfileSet, r),
  user: String,
) -> slackline.Call(users.ProfileSet, r)

ID of user to change. This argument may only be specified by admins on paid teams.

pub fn value(
  call: slackline.Call(users.ProfileSet, r),
  value: String,
) -> slackline.Call(users.ProfileSet, r)

Value to set a single key to. Usable only if profile is not passed.

✨ Search Document