Slack.Web.Im.close

You're seeing just the function close, go back to Slack.Web.Im module for more information.
Link to this function

close(channel, optional_params \\ %{})

View Source

Close a direct message channel.

Required Params

  • channel - Direct message channel to close.

Errors the API can return:

  • channel_not_found - Value passed for channel was invalid.
  • user_does_not_own_channel - Calling user does not own this DM channel.