Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Direct Message → Get Many
AI-generatedSummary
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