クラス FilesUploadV2Request

java.lang.Object
com.slack.api.methods.request.files.FilesUploadV2Request
すべての実装されたインタフェース:
SlackApiRequest

public class FilesUploadV2Request extends Object implements SlackApiRequest
Wrapper method to enable developers to easily use the new way of uploading files. To mitigate the confusion among existing users of files.upload API, this method internally performs a few HTTP requests.

- step1: https://api.slack.com/methods/files.getUploadURLExternal (per file) - step2: POST requests to upload_url (per file) - step3: https://api.slack.com/methods/files.completeUploadExternal (only once)

Although most of the parameters are compatible, there are few difference. Unlike files.upload API, this new way allows developers to upload multiple files at a time. Also, the following operations are no longer supported. - Share the uploaded files in multiple channels - Set filetype for a file