slack_conversations_open
Open a direct or group Slack conversation and return its channel ID for posting messages. Reuse existing conversations instead of creating duplicates.
Instructions
Open a direct message with one person, or a group message with up to eight. The channel id for a following chat_post_message comes back at channel.id. Opening the same conversation twice returns the existing one rather than making another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | No | Comma-separated user IDs, between one and eight. One opens a direct message, several open a group one. The caller is always included and should not be listed. | |
| channel | No | Resume an existing conversation by id, instead of naming users. | |
| returnIm | No | Return the full conversation object rather than just its id. | |
| preventCreation | No | Check whether the conversation exists without creating one. |