List Telegram chats
tg_chatsList Telegram chats, channels, groups, and users visible to your session to find the chat ID or @username needed for reading messages or downloading media. Filter by name, username, or ID.
Instructions
List the Telegram dialogs (chats/channels/groups/users) visible to the logged-in session, as [{id, type, name, username}]. Use it to find the chat id or @username to pass as chat to tg_messages / tg_download. Optional filter does a case-insensitive substring match on name/username/id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Case-insensitive substring to match against chat name, username or id |