slackline/api/files/remote_add

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

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

files.remote_add(external_id: "123456", external_url: "external_url", title: "Danger, High Voltage!")
|> remote_add.filetype("doc")

Values

pub fn filetype(
  call: slackline.Call(files.RemoteAdd, r),
  filetype: String,
) -> slackline.Call(files.RemoteAdd, r)

type of file

pub fn indexable_file_contents(
  call: slackline.Call(files.RemoteAdd, r),
  indexable_file_contents: slackline.FileUpload,
) -> slackline.Call(files.RemoteAdd, r)

A text file of search terms that improve discovery of the file.

pub fn preview_image(
  call: slackline.Call(files.RemoteAdd, r),
  preview_image: slackline.FileUpload,
) -> slackline.Call(files.RemoteAdd, r)

A preview image of the document.

✨ Search Document