slackline/api/users/conversations

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

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

users.conversations()
|> conversations.cursor("dXNlcjpVMDYxTkZUVDI=")

Values

pub fn cursor(
  call: slackline.Call(users.Conversations, r),
  cursor: String,
) -> slackline.Call(users.Conversations, r)

Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request’s response_metadata. Default value fetches the first “page” of the collection. See pagination for more detail.

pub fn exclude_archived(
  call: slackline.Call(users.Conversations, r),
  exclude_archived: Bool,
) -> slackline.Call(users.Conversations, r)

Set to true to exclude archived channels from the list Defaults to false.

pub fn exclude_muted(
  call: slackline.Call(users.Conversations, r),
  exclude_muted: Bool,
) -> slackline.Call(users.Conversations, r)

Set to true to exclude muted channels from the list Defaults to false.

pub fn limit(
  call: slackline.Call(users.Conversations, r),
  limit: Int,
) -> slackline.Call(users.Conversations, 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. Must be an integer with a max value of 999. Defaults to 100.

pub fn team_id(
  call: slackline.Call(users.Conversations, r),
  team_id: String,
) -> slackline.Call(users.Conversations, r)

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

pub fn types(
  call: slackline.Call(users.Conversations, r),
  types: List(String),
) -> slackline.Call(users.Conversations, r)

Channel types to include: any combination of public_channel, private_channel, mpim and im.

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

Browse conversations by a specific user ID’s membership. Non-public channels are restricted to those where the calling user shares membership.

✨ Search Document