slackline/api/canvases/create

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

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

canvases.create()
|> create.title("Your Brilliant Title")

Values

pub fn channel_id(
  call: slackline.Call(canvases.Create, r),
  channel_id: String,
) -> slackline.Call(canvases.Create, r)

Channel ID of the channel the canvas will be tabbed in. This is a required field for free teams.

pub fn document_content(
  call: slackline.Call(canvases.Create, r),
  document_content: common.CanvasDocumentContent,
) -> slackline.Call(canvases.Create, r)

The initial content of the canvas.

pub fn title(
  call: slackline.Call(canvases.Create, r),
  title: String,
) -> slackline.Call(canvases.Create, r)

Title of the newly created canvas

✨ Search Document