get_private_messages
Retrieve historical private messages between two users in a specified time range. Provide user IDs and optional start/end timestamps to filter messages.
Instructions
Retrieves historical private messages between two users within a specified time range.The time range is defined by startTime (newest) and endTime (oldest),with endTime must be earlier than startTime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the user whose messages are being queried | |
| target_id | Yes | ID of the other user in the private conversation | |
| end_time | No | End timestamp in milliseconds (default: 24 hours before end time) | |
| start_time | No | Start timestamp in milliseconds (must be later than endTime, default: current time) | |
| page_size | No | Number of messages per page (default: 50, max: 100) |