-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathim_created.json
More file actions
17 lines (17 loc) · 779 Bytes
/
im_created.json
File metadata and controls
17 lines (17 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "im_created",
"desc": "A DM was created.",
"long_desc": "The im_created event is sent to all connections for a user when a new direct message channel is created that they are a member of. This message lets the client know that a channel has been created, but the client should show no changes based on this, just update its internal list of IM channels. Usually this event is followed by an im_open event. 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": "im_created",
"user": "U024BE7LH",
"channel": {}
},
"scopes": [
"im:read"
],
"APIs": [
"Events",
"RTM"
]
}