slackline/api/files/remote_share

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.share. Each setter takes the call that files.remote_share returns and sets one argument:

files.remote_share(channels: channels)
|> remote_share.external_id("123456")

Values

pub fn external_id(
  call: slackline.Call(files.RemoteShare, r),
  external_id: String,
) -> slackline.Call(files.RemoteShare, r)

The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or file or both are required.

pub fn file(
  call: slackline.Call(files.RemoteShare, r),
  file: String,
) -> slackline.Call(files.RemoteShare, r)

Specify a file registered with Slack by providing its ID. Either this field or external_id or both are required.

✨ Search Document