slackline/api/files/remote_update
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.update.
Each setter takes the call that files.remote_update returns and sets one
argument:
files.remote_update()
|> remote_update.external_id("123456")
Values
pub fn external_id(
call: slackline.Call(files.RemoteUpdate, r),
external_id: String,
) -> slackline.Call(files.RemoteUpdate, r)
Creator defined GUID for the file.
pub fn external_url(
call: slackline.Call(files.RemoteUpdate, r),
external_url: String,
) -> slackline.Call(files.RemoteUpdate, r)
URL of the remote file.
pub fn file(
call: slackline.Call(files.RemoteUpdate, r),
file: String,
) -> slackline.Call(files.RemoteUpdate, r)
Specify a file by providing its ID.
pub fn filetype(
call: slackline.Call(files.RemoteUpdate, r),
filetype: String,
) -> slackline.Call(files.RemoteUpdate, r)
type of file
pub fn indexable_file_contents(
call: slackline.Call(files.RemoteUpdate, r),
indexable_file_contents: slackline.FileUpload,
) -> slackline.Call(files.RemoteUpdate, r)
A text file of search terms that improve discovery of the file.
pub fn preview_image(
call: slackline.Call(files.RemoteUpdate, r),
preview_image: slackline.FileUpload,
) -> slackline.Call(files.RemoteUpdate, r)
A preview image of the document.
pub fn title(
call: slackline.Call(files.RemoteUpdate, r),
title: String,
) -> slackline.Call(files.RemoteUpdate, r)
Title of the file being shared.