search_messages
Search one permitted Telegram chat's history by keyword and get paged message previews. Returns truncated preview hits with verified IDs for building reusable references.
Instructions
Native Telegram text search inside ONE allowed chat, across its history, returning a page (default 50, maximum 100) of Telegram-truncated previews. Not global search; no hashtag or from: filter modes. Results are not a complete export. Preview-only hits have previewOnly:true; only IDs independently verified by the UI yield reusable references. Use chatId or cached native chat name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| query | Yes | ||
| chatId | No |