Class FilesRemoteAddRequest.FilesRemoteAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteAddRequest.FilesRemoteAddRequestBuilder
- Enclosing class:
- FilesRemoteAddRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()externalId(String externalId) Creator defined GUID for the file.externalUrl(String externalUrl) URL of the remote file.type of fileindexableFileContents(byte[] indexableFileContents) File containing contents that can be used to improve searchability for the remote file.previewImage(byte[] previewImage) Preview of the document via multipart/form-data.Title of the file being shared.Authentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `remote_files:write`- Returns:
this.
-
externalId
Creator defined GUID for the file.- Returns:
this.
-
externalUrl
URL of the remote file.- Returns:
this.
-
title
Title of the file being shared.- Returns:
this.
-
filetype
type of file- Returns:
this.
-
indexableFileContents
public FilesRemoteAddRequest.FilesRemoteAddRequestBuilder indexableFileContents(byte[] indexableFileContents) File containing contents that can be used to improve searchability for the remote file.- Returns:
this.
-
previewImage
Preview of the document via multipart/form-data.- Returns:
this.
-
build
-
toString
-