You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

im_open event

You opened a DM

Compatibility: RTM Events API

Expected scopes:

{
    "type": "im_open",
    "user": "U024BE7LH",
    "channel": "D024BE91L"
}

The im_open event is sent to all connections for a user when a direct message channel is opened by that user.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.