slackline/api/team/info

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

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

api_team.info()
|> info.domain("domain")

Values

pub fn domain(
  call: slackline.Call(team.Info, r),
  domain: String,
) -> slackline.Call(team.Info, r)

Query by domain instead of team (only when team is null). This only works for domains in the same enterprise as the querying team token. This also expects the domain to belong to a team and not the enterprise itself. This is the value set up for the ‘Joining This Workspace’ workspace setting. If it contains more than one domain, the field will contain multiple comma-separated domain values. If no domain is set, the field is empty.

pub fn include_slackbot_availability(
  call: slackline.Call(team.Info, r),
  include_slackbot_availability: Bool,
) -> slackline.Call(team.Info, r)

Include advisory Slackbot availability for the returned workspace or organization. Only applies to a single team in the caller’s own workspace or organization; omitted for external teams. Does not guarantee individual eligibility, remaining usage, or access to a particular app. Defaults to false.

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

Team to get info about; if omitted, will return information about the current team.

✨ Search Document