You're seeing just the function
open, go back to SlackWeb.Conversations module for more information.
Opens a multi-person direct message or just a 1:1 direct message.
channel- Resume a conversation by supplying an
mpim's ID. Or provide the
usersfield instead. ex:
return_im- Boolean, indicates you want the full IM channel definition in the response. ex:
users- Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a
channelwhen not supplying
Errors the API can return:
channel_not_found- Value passed for
method_not_supported_for_channel_type- This type of conversation cannot be used with this method.
not_enough_users- Needs at least 2 users to open
too_many_users- Needs at most 8 users to open
user_disabled- A specified
userhas been disabled
user_not_found- Value(s) passed for
user_not_visible- The calling user is restricted from seeing the requested user.