im_open event
You opened a DM
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the im_open event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "im_open",
"user": "U024BE7LH",
"channel": "D024BE91L"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The im_open event is sent to all connections for a user when a direct
message channel is opened by that user.