get_dm_history
Retrieve message history from Slack direct message conversations by specifying a channel ID, with options to filter by time range and limit results.
Instructions
Fetch message history from a DM or group DM conversation.
Args:
channel_id: The ID of the DM conversation (e.g., "D01234567")
limit: Maximum number of messages to return (1-1000). Default: 20
oldest: Unix timestamp of oldest message to include (optional)
latest: Unix timestamp of latest message to include (optional)
Returns:
Dictionary containing list of messages
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| limit | No | ||
| oldest | No | ||
| latest | No |