Class FilesRemoteShareRequest
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteShareRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/files.remote.share
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanComma-separated list of channel IDs where the file will be shared.Creator defined GUID for the file.getFile()Specify a file by providing its ID.getToken()Authentication token.inthashCode()voidsetChannels(List<String> channels) Comma-separated list of channel IDs where the file will be shared.voidsetExternalId(String externalId) Creator defined GUID for the file.voidSpecify a file by providing its ID.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `remote_files:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getExternalId
Creator defined GUID for the file. -
getFile
Specify a file by providing its ID. -
getChannels
Comma-separated list of channel IDs where the file will be shared. -
setToken
Authentication token. Requires scope: `remote_files:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setExternalId
Creator defined GUID for the file. -
setFile
Specify a file by providing its ID. -
setChannels
Comma-separated list of channel IDs where the file will be shared. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-