search_messages
Search cached Telegram messages with keyword full-text search, vector cosine search, or hybrid combination.
Instructions
Search cached Telegram messages with keyword FTS, vector cosine search, and hybrid candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Chat ID, @username, or omitted for TELEGRAM_DEFAULT_CHAT_ID. | |
| limit | No | Candidates per search channel. | |
| query | Yes | Search query. | |
| after_id | No | Only messages newer than this message ID. | |
| before_id | No | Only messages older than this message ID. | |
| hybrid_limit | No | Hybrid candidates to return. | |
| vector_limit | No | Vector chunks to return. | |
| keyword_limit | No | Keyword FTS candidates to return. |