telegram_folders
Retrieve Telegram folder IDs, names, emojis, and rules that define which chats are included or excluded. Use this to inspect how folders are configured or to find the folder ID for filtering chats.
Instructions
Returns each folder's id, name, emoji and rules: which chats it names, which it excludes, and which whole categories it admits (contacts, non-contacts, groups, channels, bots) or withholds (muted, read, archived). Use when the user asks how their chat folders are set up or which folder id to filter by. Do not use this to put a chat into a folder; that is telegram_plan_folder_add, and listing the chats in one folder is telegram_chats with a folder argument. The ids are what chats and inbox take as folder. A folder is the user's own sorting, not a permission: chats this configuration may not enumerate stay hidden inside it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label to use. Omit when exactly one account is configured. | |
| include_private | No | Also name the one-to-one conversations a folder contains (requires safety.read.enumerate_dms). |