Rocket.Chat Extended icon

Rocket.Chat Extended

Extended Rocket.Chat operations: channels, messages, threads, reactions, file upload, and more

Direct Message → Create

AI-generated

Summary

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

Links

Discussion