Class FileSharedEvent

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

public class FileSharedEvent extends Object implements Event
The file_shared event is sent when a file is shared. It is sent to all connected clients for all users that have permission to see the file. The file property includes the file ID, as well as a top-level file_id. To obtain additional information about the file, use the files.info API method.

https://api.slack.com/events/file_shared

See Also:
  • Field Details

  • Constructor Details

    • FileSharedEvent

      public FileSharedEvent()
  • Method Details

    • getType

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

      public String getFileId()
    • getFile

      public FileSharedEvent.File getFile()
    • getChannelId

      public String getChannelId()
    • getUserId

      public String getUserId()
    • getEventTs

      public String getEventTs()
    • setFileId

      public void setFileId(String fileId)
    • setFile

      public void setFile(FileSharedEvent.File file)
    • setChannelId

      public void setChannelId(String channelId)
    • setUserId

      public void setUserId(String userId)
    • setEventTs

      public void setEventTs(String eventTs)
    • 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