Go to Slack

dnd_updated_user event

Compatibility: RTM Events API

Events API Scope: dnd:read


Do not Disturb settings changed for a team member

{
    "type": "dnd_updated_user",
    "user": "U1234",
    "dnd_status": {
        "dnd_enabled": true,
        "next_dnd_start_ts": 1450387800,
        "next_dnd_end_ts": 1450423800
    }
}

The dnd_updated_user event is sent to all connections for a team when a user's Do Not Disturb settings have changed.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

dnd_updated_user requires the dnd:read OAuth permission scope.