com.slack.api.model.event.DndUpdatedUserEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import lombok.Data;
/**
* The dnd_updated_user event is sent to all connections for a workspace when a user's Do Not Disturb settings have changed.
*
* https://api.slack.com/events/dnd_updated_user
*/
@Data
public class DndUpdatedUserEvent implements Event {
public static final String TYPE_NAME = "dnd_updated_user";
private final String type = TYPE_NAME;
private String user;
private DndStatus dndStatus;
private String eventTs;
@Data
public static class DndStatus {
private boolean dndEnabled;
private Integer nextDndStartTs;
private Integer nextDndEndTs;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy