Package com.slack.api.model.event
Class FileSharedEvent
java.lang.Object
com.slack.api.model.event.FileSharedEvent
- All Implemented Interfaces:
Event,Serializable
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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetFile()getType()inthashCode()voidsetChannelId(String channelId) voidsetEventTs(String eventTs) voidsetFile(FileSharedEvent.File file) voidvoidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.model.event.Event
getSubtype
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
FileSharedEvent
public FileSharedEvent()
-
-
Method Details
-
getType
-
getFileId
-
getFile
-
getChannelId
-
getUserId
-
getEventTs
-
setFileId
-
setChannelId
-
setUserId
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-