Package com.slack.api.model.event
Class FilePublicEvent
java.lang.Object
com.slack.api.model.event.FilePublicEvent
- All Implemented Interfaces:
Event
,Serializable
The file_public event is sent when a file is made public.
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_public
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getFile()
getType()
int
hashCode()
void
setEventTs
(String eventTs) void
setFile
(FilePublicEvent.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
-
FilePublicEvent
public FilePublicEvent()
-
-
Method Details