Search Messages Across All Public Chats
search_globalSearch message text across all joined Telegram dialogs and public channels when the target chat is unknown. Find messages globally by keyword without specifying a chat.
Instructions
Search for message text across all joined dialogs and public channels globally. Use when the target chat is unknown. If the chat is known, prefer search_messages for faster scoped results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-indexed page number for paginated result sets. | |
| query | Yes | Search text string or keywords to match against messages, contacts, or entities. | |
| account | No | Optional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts. | |
| page_size | No | Maximum number of items to return per page (typically 10 to 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |