Package com.slack.api.model.event
Class FilePublicEvent
java.lang.Object
com.slack.api.model.event.FilePublicEvent
- All Implemented Interfaces:
Event,Serializable
public class FilePublicEvent extends Object implements Event
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:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilePublicEvent.File -
Field Summary
-
Constructor Summary
Constructors Constructor Description FilePublicEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEventTs()FilePublicEvent.FilegetFile()StringgetFileId()StringgetType()StringgetUserId()inthashCode()voidsetEventTs(String eventTs)voidsetFile(FilePublicEvent.File file)voidsetFileId(String fileId)voidsetUserId(String userId)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
FilePublicEvent
public FilePublicEvent()
-
-
Method Details