slackline/api/reactions/list

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

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

import slackline/api/reactions/list as reactions_list

reactions.list()
|> reactions_list.user("user")

Values

pub fn count(
  call: slackline.Call(reactions.ListMethod, r),
  count: Int,
) -> slackline.Call(reactions.ListMethod, r)

Defaults to 100.

pub fn cursor(
  call: slackline.Call(reactions.ListMethod, r),
  cursor: String,
) -> slackline.Call(reactions.ListMethod, r)

Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request’s response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first “page” of the collection. See pagination for more details.

pub fn full(
  call: slackline.Call(reactions.ListMethod, r),
  full: Bool,
) -> slackline.Call(reactions.ListMethod, r)

If true always return the complete reaction list.

pub fn limit(
  call: slackline.Call(reactions.ListMethod, r),
  limit: Int,
) -> slackline.Call(reactions.ListMethod, r)

The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn’t been reached.

pub fn page(
  call: slackline.Call(reactions.ListMethod, r),
  page: Int,
) -> slackline.Call(reactions.ListMethod, r)

Defaults to 1.

pub fn team_id(
  call: slackline.Call(reactions.ListMethod, r),
  team_id: String,
) -> slackline.Call(reactions.ListMethod, r)

encoded team id to list reactions in, required if org token is used

pub fn user(
  call: slackline.Call(reactions.ListMethod, r),
  user: String,
) -> slackline.Call(reactions.ListMethod, r)

Show reactions made by this user. Defaults to the authed user.

✨ Search Document