Class FilesUploadRequest.FilesUploadRequestBuilder
java.lang.Object
com.slack.api.methods.request.files.FilesUploadRequest.FilesUploadRequestBuilder
- Enclosing class:
- FilesUploadRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Comma-separated list of channel names or IDs where the file will be shared.File contents via a POST variable.File contents via `multipart/form-data`.fileData(byte[] fileData) Filename of file.A [file type](https://docs.slack.dev/reference/objects/file-object#types) identifier.initialComment(String initialComment) Initial comment to add to file.Provide another message's ts value to upload this file as a reply.Title of file.Authentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `files:write`- Returns:
this.
-
file
File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`.- Returns:
this.
-
fileData
- Returns:
this.
-
content
File contents via a POST variable. If omitting this parameter, you must provide a `file`.- Returns:
this.
-
filetype
A [file type](https://docs.slack.dev/reference/objects/file-object#types) identifier.- Returns:
this.
-
filename
Filename of file.- Returns:
this.
-
title
Title of file.- Returns:
this.
-
initialComment
Initial comment to add to file.- Returns:
this.
-
channels
Comma-separated list of channel names or IDs where the file will be shared.- Returns:
this.
-
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
-