All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.model.event.FileCreatedEvent Maven / Gradle / Ivy

There is a newer version: 1.44.1
Show newest version
package com.slack.api.model.event;

import lombok.Data;

/**
 * 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://api.slack.com/events/file_created */ @Data public class FileCreatedEvent implements Event { public static final String TYPE_NAME = "file_created"; private final String type = TYPE_NAME; private String fileId; private File file; private String userId; private String eventTs; @Data public static class File { private String id; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy