slackline/api/conversations/create

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

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

conversations.create(name: "mychannel")
|> create.is_private(True)

Values

pub fn is_private(
  call: slackline.Call(conversations.Create, r),
  is_private: Bool,
) -> slackline.Call(conversations.Create, r)

Create a private channel instead of a public one

pub fn team_id(
  call: slackline.Call(conversations.Create, r),
  team_id: String,
) -> slackline.Call(conversations.Create, r)

encoded team id to create the channel in, required if org token is used

✨ Search Document