waha_get_chats
Retrieve recent WhatsApp chats with IDs, names, message previews, and unread counts. Filter by specific chats or paginate results to manage conversation overviews.
Instructions
Get overview of recent WhatsApp chats. Returns chat ID, name, last message preview, and unread count. Default limit is 10 chats.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chatIds | No | Optional filter for specific chat IDs (format: number@c.us) | |
limit | No | Number of chats to retrieve (default: 10, max: 100) | |
offset | No | Offset for pagination |
Input Schema (JSON Schema)
{
"properties": {
"chatIds": {
"description": "Optional filter for specific chat IDs (format: number@c.us)",
"items": {
"type": "string"
},
"type": "array"
},
"limit": {
"default": 10,
"description": "Number of chats to retrieve (default: 10, max: 100)",
"type": "number"
},
"offset": {
"description": "Offset for pagination",
"type": "number"
}
},
"type": "object"
}