dnd_updated_user event
Do not Disturb settings changed for a member
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the dnd_updated_user event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "dnd_updated_user",
"user": "U1234",
"dnd_status": {
"dnd_enabled": true,
"next_dnd_start_ts": 1450387800,
"next_dnd_end_ts": 1450423800
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The dnd_updated_user event is sent to all connections for a workspace when a user's Do Not Disturb settings have changed.