tg_unread
Retrieve unread messages grouped by chat, including archive status and latest incoming messages, so you can quickly catch up on what you missed.
Instructions
Everything unread, grouped by chat, with the latest incoming messages.
Use this for "what did I miss" questions instead of walking chats one by one. Each chat says whether it sits in the archive.
Args: limit_chats: how many chats to include. per_chat: how many recent incoming messages per chat. archived: null (default) covers both the main list and the archive, false limits it to the main list, true to the archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | ||
| per_chat | No | ||
| limit_chats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |