Get DM history
get_dm_historyRetrieve direct-message history with another user by username. Optionally filter by date range, message text, or limit results to review past conversations.
Instructions
Read the direct-message conversation between the authenticated user and another user. Supports the same client-side filter as get_channel_history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages on/after this date, YYYY-MM-DD (inclusive) | |
| limit | No | Max messages to return (default 50) | |
| before | No | Only messages on/before this date, YYYY-MM-DD (inclusive) | |
| filter | No | Case-insensitive substring to match in message text | |
| username | Yes | The other user's username, e.g. 'jane' or '@jane' |