Discover Telegram chats
discover_chatsList Telegram chat IDs and titles to populate an allowlist; search by query or omit it to list top chats. Returns metadata only, never message contents.
Instructions
List chat ids and titles to help populate the allowlist. This returns metadata only, never message contents. Requires allowChatDiscovery in config.json. Pass a query to search, or omit it to list top chats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of chats to return (default 100). | |
| query | No | Optional text to search in chat titles and usernames. |