Class MessageFileShareEvent

java.lang.Object
com.slack.api.model.event.MessageFileShareEvent
All Implemented Interfaces:
Event, Serializable

public class MessageFileShareEvent extends Object implements Event
A file was shared into a channel https://api.slack.com/events/message/file_share
See Also:
  • Field Details

  • Constructor Details

    • MessageFileShareEvent

      public MessageFileShareEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • getSubtype

      public String getSubtype()
      Specified by:
      getSubtype in interface Event
    • getText

      public String getText()
    • getBlocks

      public List<LayoutBlock> getBlocks()
    • getAttachments

      public List<Attachment> getAttachments()
    • getFiles

      public List<File> getFiles()
    • getUpload

      public Boolean getUpload()
    • getDisplayAsBot

      public Boolean getDisplayAsBot()
    • getXFiles

      public List<String> getXFiles()
    • getUser

      public String getUser()
    • getParentUserId

      public String getParentUserId()
    • getTs

      public String getTs()
    • getThreadTs

      public String getThreadTs()
    • getChannel

      public String getChannel()
    • getEventTs

      public String getEventTs()
    • getChannelType

      public String getChannelType()
    • setText

      public void setText(String text)
    • setBlocks

      public void setBlocks(List<LayoutBlock> blocks)
    • setAttachments

      public void setAttachments(List<Attachment> attachments)
    • setFiles

      public void setFiles(List<File> files)
    • setUpload

      public void setUpload(Boolean upload)
    • setDisplayAsBot

      public void setDisplayAsBot(Boolean displayAsBot)
    • setXFiles

      public void setXFiles(List<String> xFiles)
    • setUser

      public void setUser(String user)
    • setParentUserId

      public void setParentUserId(String parentUserId)
    • setTs

      public void setTs(String ts)
    • setThreadTs

      public void setThreadTs(String threadTs)
    • setChannel

      public void setChannel(String channel)
    • setEventTs

      public void setEventTs(String eventTs)
    • setChannelType

      public void setChannelType(String channelType)
    • 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