Search one Telegram chat with filters
telegram_search_chat_messagesFind messages in a Telegram chat by text, sender, media type, date range, or topic. Filter by unread mentions, attachments, or voice notes to locate specific content.
Instructions
Search a known chat by text, sender, media type, dates, or forum topic.
Empty query allows attachment-only searches. sender_id is a positive user ID or negative chat ID. mention means unread mentions; voice includes video notes. Use timezone-qualified dates. Keep every filter unchanged when following cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| cursor | No | ||
| chat_id | Yes | ||
| date_to | No | ||
| topic_id | No | ||
| date_from | No | ||
| sender_id | No | ||
| media_type | No | all | |
| unread_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| next_cursor | Yes | ||
| scanned_count | Yes | ||
| trust_boundary | No |