telegram_chats
Lists your Telegram dialogs with unread counts and finds the chat_id for a title, so other operations can target the right chat.
Instructions
Returns the account's dialogs with unread counts, so a title can be turned into the chat_id every other operation needs. Use when the user wants a chat list, unread counts, or a chat id from a title. Do not use this to read messages; call telegram_chat_read once the chat is known, or telegram_search to find text. Private conversations are excluded unless safety.read.enumerate_dms permits them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return. | |
| folder | No | Only chats in this Telegram folder — its id, or the name shown in the app. Filters the listing; it never widens it. | |
| search | No | Case-insensitive substring of the chat title or @username. | |
| account | No | Account label to use. Omit when exactly one account is configured. | |
| archived | No | List the archive instead of the main list. | |
| include_private | No | Include one-to-one conversations (requires safety.read.enumerate_dms). |