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

com.github.seratch.jslack.api.model.event.DndUpdatedEvent Maven / Gradle / Ivy

package com.github.seratch.jslack.api.model.event;

import lombok.Data;

/**
 * The dnd_updated event is sent to the current user when their Do Not Disturb settings have changed.
 * 

* This event is not available to bot user subscriptions in the Events API. *

* https://api.slack.com/events/dnd_updated */ @Data public class DndUpdatedEvent implements Event { public static final String TYPE_NAME = "dnd_updated"; private final String type = TYPE_NAME; private String user; private DndStatus dndStatus; @Data public static class DndStatus { private boolean dndEnabled; private Integer nextDndStartTs; private Integer nextDndEndTs; private boolean snoozeEnabled; private Integer snoozeEndtime; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy