Class FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder
java.lang.Object
com.slack.api.methods.request.files.FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder
- Enclosing class:
- FilesCompleteUploadExternalRequest
public static class FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Channel ID where the file will be shared.Array of file ids and their corresponding (optional) titles.initialComment(String initialComment) The message text introducing the file in specified channels.Provide another message's ts value to upload this file as a reply.Authentication token.toString()
-
Method Details
-
token
public FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder token(String token) Authentication token. Requires scope: `files:write`- Returns:
this.
-
files
public FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder files(List<FilesCompleteUploadExternalRequest.FileDetails> files) Array of file ids and their corresponding (optional) titles.- Returns:
this.
-
channelId
public FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder channelId(String channelId) Channel ID where the file will be shared. If not specified the file will be private.- Returns:
this.
-
initialComment
public FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder initialComment(String initialComment) The message text introducing the file in specified channels.- Returns:
this.
-
threadTs
public FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder threadTs(String threadTs) Provide another message's ts value to upload this file as a reply. Never use a reply's ts value; use its parent instead.- Returns:
this.
-
build
-
toString
-