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

im_close event

You closed a DM

Compatibility: RTM Events API

Expected scopes:

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

The im_close event is sent to all connections for a user when a direct message channel is closed 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.