com.slack.api.model.event.FilePublicEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import lombok.Data;
/**
* 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
*/
@Data
public class FilePublicEvent implements Event {
public static final String TYPE_NAME = "file_public";
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