slackline/api/stars/add

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

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

stars.add()
|> add.channel("channel")

Values

pub fn channel(
  call: slackline.Call(stars.Add, r),
  channel: String,
) -> slackline.Call(stars.Add, r)

Channel to add star to, or channel where the message to add star to was posted (used with timestamp).

pub fn file(
  call: slackline.Call(stars.Add, r),
  file: String,
) -> slackline.Call(stars.Add, r)

File to add star to.

pub fn file_comment(
  call: slackline.Call(stars.Add, r),
  file_comment: String,
) -> slackline.Call(stars.Add, r)

File comment to add star to.

pub fn timestamp(
  call: slackline.Call(stars.Add, r),
  timestamp: String,
) -> slackline.Call(stars.Add, r)

Timestamp of the message to add star to.

✨ Search Document