Go to Slack

im_close event

Compatibility: RTM Events API

Events API Scope: im:read


You closed a DM

{
    "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.

im_close requires the im:read OAuth permission scope.