-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdnd_updated.json
More file actions
23 lines (23 loc) · 813 Bytes
/
dnd_updated.json
File metadata and controls
23 lines (23 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "dnd_updated",
"desc": "Do not Disturb settings changed for the current user.",
"long_desc": "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. When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more",
"example": {
"type": "dnd_updated",
"user": "U1234",
"dnd_status": {
"dnd_enabled": true,
"next_dnd_start_ts": 1450387800,
"next_dnd_end_ts": 1450423800,
"snooze_enabled": true,
"snooze_endtime": 1450373897
}
},
"scopes": [
"dnd:read"
],
"APIs": [
"Events",
"RTM"
]
}