Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Direct Message → Create
AI-generatedSummary
Create a direct message with selected user(s)
Inputs
- specifyDmUserManually — Whether to specify the username manually instead of selecting from the list
- dmUsername (required) — Username or comma‑separated list of usernames to open the DM with
- excludeSelf — Whether to exclude the authenticated user from the DM participant list
Output shape
a single direct message object (e.g., containing roomId and participant list)
Returned on success; errors are propagated. The object may include additional fields depending on the server response.
Examples
Example 1: Create a DM with a single user selected from the dropdown
specifyDmUserManually = false; choose a user via the User dropdown
Example 2: Create a multi‑user DM by listing usernames
specifyDmUserManually = true; enter comma‑separated usernames in dmUsername; optionally enable excludeSelf
Example 3: Create a DM while manually typing a username
specifyDmUserManually = true; type the desired username directly into dmUsername