Package com.slack.api.model.event
Class FileCreatedEvent
java.lang.Object
com.slack.api.model.event.FileCreatedEvent
- All Implemented Interfaces:
Event,Serializable
The file_created event is sent to all connected clients for a user when that user uploads a file to Slack.
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.
When a file is shared with other members of the workspace (which can happen at upload time) a file_shared event will also be sent.
https://docs.slack.dev/reference/events/file_created
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetFile()getType()inthashCode()voidsetEventTs(String eventTs) voidsetFile(FileCreatedEvent.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
-
FileCreatedEvent
public FileCreatedEvent()
-
-
Method Details