Skip to main content
slack.listDirectMessages returns conversation IDs for message and history actions.

Example

automations/list-slack-dms.automation.ts

Inputs

Output

Returns conversations and responseMetadata.nextCursor. A direct-message conversation has id, usually userId, and isDirectMessage. Other common conversation metadata may also be present.