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

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

There is a newer version: 1.44.1
Show newest version
package com.slack.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; private String eventTs; @Data public static class DndStatus { private boolean dndEnabled; private Integer snoozeRemaining; private Integer nextDndStartTs; private Integer nextDndEndTs; private boolean snoozeEnabled; private boolean snoozeIsIndefinite; private Integer snoozeEndtime; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy