Class FilesCompleteUploadExternalRequest
java.lang.Object
com.slack.api.methods.request.files.FilesCompleteUploadExternalRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/files.completeUploadExternal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanChannel ID where the file will be shared.Comma-separated string of channel IDs where the file will be shared.getFiles()Array of file ids and their corresponding (optional) titles.The message text introducing the file in specified channels.Provide another message's ts value to upload this file as a reply.getToken()Authentication token.inthashCode()voidsetChannelId(String channelId) Channel ID where the file will be shared.voidsetChannels(List<String> channels) Comma-separated string of channel IDs where the file will be shared.voidArray of file ids and their corresponding (optional) titles.voidsetInitialComment(String initialComment) The message text introducing the file in specified channels.voidsetThreadTs(String threadTs) Provide another message's ts value to upload this file as a reply.voidAuthentication token.toString()
-
Method Details
-
builder
public static FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder builder() -
getToken
Authentication token. Requires scope: `files:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getFiles
Array of file ids and their corresponding (optional) titles. -
getChannelId
Channel ID where the file will be shared. If not specified the file will be private. -
getChannels
Comma-separated string of channel IDs where the file will be shared. -
getInitialComment
The message text introducing the file in specified channels. -
getThreadTs
Provide another message's ts value to upload this file as a reply. Never use a reply's ts value; use its parent instead. -
setToken
Authentication token. Requires scope: `files:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setFiles
Array of file ids and their corresponding (optional) titles. -
setChannelId
Channel ID where the file will be shared. If not specified the file will be private. -
setChannels
Comma-separated string of channel IDs where the file will be shared. -
setInitialComment
The message text introducing the file in specified channels. -
setThreadTs
Provide another message's ts value to upload this file as a reply. Never use a reply's ts value; use its parent instead. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-