Slack.Web.Conversations.open
You're seeing just the function
open, go back to Slack.Web.Conversations module for more information.
Opens a multi-person direct message or just a 1:1 direct message.
Optional Params
channel- Resume a conversation by supplying animormpim's ID. Or provide theusersfield instead. ex:G1234567890return_im- Boolean, indicates you want the full IM channel definition in the response. ex:trueusers- 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 achannelwhen not supplyingusers. ex:W1234567890,U2345678901,U3456789012
Errors the API can return:
channel_not_found- Value passed forchannelwas invalidmethod_not_supported_for_channel_type- This type of conversation cannot be used with this method.not_enough_users- Needs at least 2 users to opentoo_many_users- Needs at most 8 users to openuser_disabled- A specifieduserhas been disableduser_not_found- Value(s) passed foruserswas invaliduser_not_visible- The calling user is restricted from seeing the requested user.users_list_not_supplied- Missingusersin request