slackline/api/calls/add

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

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

calls.add(external_unique_id: "025169F6-E37A-4E62-BB54-7F93A0FC4C1F", join_url: "https://example.com/calls/1234567890")
|> add.external_display_id("705-292-868")

Values

pub fn created_by(
  call: slackline.Call(calls.Add, r),
  created_by: String,
) -> slackline.Call(calls.Add, r)

The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.

pub fn date_start(
  call: slackline.Call(calls.Add, r),
  date_start: Int,
) -> slackline.Call(calls.Add, r)

Unix timestamp of the call start time

pub fn desktop_app_join_url(
  call: slackline.Call(calls.Add, r),
  desktop_app_join_url: String,
) -> slackline.Call(calls.Add, r)

When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.

pub fn external_display_id(
  call: slackline.Call(calls.Add, r),
  external_display_id: String,
) -> slackline.Call(calls.Add, r)

An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object.

pub fn title(
  call: slackline.Call(calls.Add, r),
  title: String,
) -> slackline.Call(calls.Add, r)

The name of the Call.

pub fn users(
  call: slackline.Call(calls.Add, r),
  users: List(calls.CallUser),
) -> slackline.Call(calls.Add, r)

The list of users to register as participants in the Call.

✨ Search Document