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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getFile()
getType()
int
hashCode()
void
setChannelId
(String channelId) void
setEventTs
(String eventTs) void
setFile
(FileSharedEvent.File file) void
void
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-