Class FilesUploadV2Request.UploadFile.UploadFileBuilder
java.lang.Object
com.slack.api.methods.request.files.FilesUploadV2Request.UploadFile.UploadFileBuilder
- Enclosing class:
- FilesUploadV2Request.UploadFile
-
Method Summary
Modifier and TypeMethodDescriptionDescription of image for screen-reader.build()File contents via a POST variable.File contents via `multipart/form-data`.fileData(byte[] fileData) File contents via `multipart/form-data`.Name of the file being uploaded.snippetType(String snippetType) Syntax type of the snippet being uploaded.Title of the file, which is visible in the Slack UI.toString()
-
Method Details
-
file
File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`.- Returns:
this.
-
fileData
File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`.- Returns:
this.
-
content
File contents via a POST variable. If omitting this parameter, you must provide a `file`.- Returns:
this.
-
filename
Name of the file being uploaded.- Returns:
this.
-
title
Title of the file, which is visible in the Slack UI.- Returns:
this.
-
altTxt
Description of image for screen-reader.- Returns:
this.
-
snippetType
Syntax type of the snippet being uploaded.- Returns:
this.
-
build
-
toString
-