Rocket.Chat Extended icon

Rocket.Chat Extended

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

Direct Message → Get Many

AI-generated

Summary

Fetch direct message conversations

Inputs

  • returnAll — Whether to return all results or only up to a given limit
  • limit — Maximum number of direct message conversations to return

Output shape

an array of direct message objects

The result may be truncated when limit is set; returnAll false returns up to limit items

Examples

Example 1: Get the first 10 DM conversations

resource=directMessage,operation=getAll,limit=10,returnAll=false

Example 2: Retrieve all DM conversations

resource=directMessage,operation=getAll,returnAll=true

Links

Discussion