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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilesCompleteUploadExternalRequestbuild()FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilderchannelId(String channelId)Channel ID where the file will be shared.FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilderfiles(List<FilesCompleteUploadExternalRequest.FileDetails> files)Array of file ids and their corresponding (optional) titles.FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilderinitialComment(String initialComment)The message text introducing the file in specified channels.FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilderthreadTs(String threadTs)Provide another message's ts value to upload this file as a reply.FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuildertoken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
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
public FilesCompleteUploadExternalRequest build()
-
-