get_chat_messages
Retrieve chat messages by specifying a chat ID, with options to filter by user, time range, and sort order. Access message content, sender details, and timestamps for analysis or integration.
Instructions
Retrieve recent messages from a specific chat conversation. Returns message content, sender information, and timestamps.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chatId | Yes | Chat ID (e.g. 19:meeting_Njhi..j@thread.v2 | |
descending | No | Sort in descending order (newest first) | |
fromUser | No | Filter messages from specific user ID | |
limit | No | Number of messages to retrieve | |
orderBy | No | Sort order | createdDateTime |
since | No | Get messages since this ISO datetime | |
until | No | Get messages until this ISO datetime |