List Telegram chats
tg_chatsList Telegram chats, channels, groups, and users from your account. Retrieve chat IDs or usernames for use with message or download tools. Supports case-insensitive 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 |