Rocket.Chat Extended icon

Rocket.Chat Extended

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

Direct Message → Close

AI-generated

Summary

Close a direct message conversation

Inputs

  • roomId (required) — The ID of the direct message room to close

Output shape

a single record representing the closed DM

Returns the closed DM object; may include error fields if the request fails

Examples

Example 1: Close an active DM with a teammate

roomId set to the DM's ID; operation set to close

Example 2: Close multiple DMs in bulk

Loop over a list of roomIds with operation close

Example 3: Close a DM that was previously opened

Ensure roomId points to the DM that is currently open

Links

Discussion