SlackWeb.Im.open
You're seeing just the function
open
, go back to SlackWeb.Im module for more information.
Opens a direct message channel.
Required Params
user
- User to open a direct message channel with.
Errors the API can return:
user_disabled
- Theuser
has been disabled.user_not_found
- Value passed foruser
was invalid.user_not_visible
- The calling user is restricted from seeing the requested user.