com.github.seratch.jslack.api.model.event.ResourcesAddedEvent Maven / Gradle / Ivy
The newest version!
package com.github.seratch.jslack.api.model.event;
import lombok.Data;
import java.util.List;
/**
* Subscribe to this event to receive deliveries as users install your Slack app,
* add your app to channels and conversations, or approve your app for additional permissions and resources.
*
* See Permissions API for further detail.
*
* https://api.slack.com/events/resources_added
*/
@Data
public class ResourcesAddedEvent implements Event {
public static final String TYPE_NAME = "resources_added";
private final String type = TYPE_NAME;
private List resources;
@Data
public static class ResourceItem {
private Resource resource;
private List scopes;
}
@Data
public static class Resource {
private String type;
private Grant grant;
}
@Data
public static class Grant {
private String type;
private String resourceId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy