Class FilesCompleteUploadExternalRequest

java.lang.Object
com.slack.api.methods.request.files.FilesCompleteUploadExternalRequest
All Implemented Interfaces:
SlackApiRequest

public class FilesCompleteUploadExternalRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/files.completeUploadExternal
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `files:write`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getFiles

      Array of file ids and their corresponding (optional) titles.
    • getChannelId

      public String getChannelId()
      Channel ID where the file will be shared. If not specified the file will be private.
    • getChannels

      public List<String> getChannels()
      Comma-separated string of channel IDs where the file will be shared.
    • getInitialComment

      public String getInitialComment()
      The message text introducing the file in specified channels.
    • getThreadTs

      public String 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

      public void setToken(String token)
      Authentication token. Requires scope: `files:write`
      Specified by:
      setToken in interface SlackApiRequest
    • setFiles

      Array of file ids and their corresponding (optional) titles.
    • setChannelId

      public void setChannelId(String channelId)
      Channel ID where the file will be shared. If not specified the file will be private.
    • setChannels

      public void setChannels(List<String> channels)
      Comma-separated string of channel IDs where the file will be shared.
    • setInitialComment

      public void setInitialComment(String initialComment)
      The message text introducing the file in specified channels.
    • setThreadTs

      public void setThreadTs(String 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object