-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathshared_channel_invite_received.json
52 lines (52 loc) · 1.91 KB
/
shared_channel_invite_received.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "shared_channel_invite_received",
"desc": "A shared channel invite was sent to a Slack user.",
"long_desc": "This event will fire if you use the conversations.inviteShared API call with the user_ids argument to invite a bot or an app to a Slack Connect channel. This will not fire if you invite a user via email. 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",
"required_scope": "RTM",
"example": {
"type": "shared_channel_invite_received",
"invite": {
"id": "I028YDERZSQ",
"date_created": 1626876000,
"date_invalid": 1628085600,
"inviting_team": {
"id": "T12345678",
"name": "Corgis",
"icon": {
},
"is_verified": false,
"domain": "corgis",
"date_created": 1480946400
},
"inviting_user": {
"id": "U12345678",
"team_id": "T12345678",
"name": "crus",
"updated": 1608081902,
"profile": {
"real_name": "Corgis Rus",
"display_name": "Corgis Rus",
"real_name_normalized": "Corgis Rus",
"display_name_normalized": "Corgis Rus",
"team": "T12345678",
"avatar_hash": "gcfh83a4c72k",
"email": "corgisrus@slack-corp.com",
"image_24": "https://placekitten.com/24/24",
"image_32": "https://placekitten.com/32/32",
"image_48": "https://placekitten.com/48/48",
"image_72": "https://placekitten.com/72/72",
"image_192": "https://placekitten.com/192/192",
"image_512": "https://placekitten.com/512/512"
}
},
"recipient_user_id": "U87654321"
},
"channel": {
"id": "C12345678",
"is_private": false,
"is_im": false,
"name": "test-slack-connect"
},
"event_ts": "1626876010.000100"
}
}