slack.listDirectMessages returns conversation IDs for message and history actions.
Example
automations/list-slack-dms.automation.ts
Inputs
Output
Returnsconversations and responseMetadata.nextCursor. A direct-message conversation has id, usually userId, and isDirectMessage. Other common conversation metadata may also be present.