tg_folder_edit
Create, rename, delete, or fill Telegram folders, moving chats in or out without disturbing existing rules or pins. Add exclusions and automatic rules to keep folders organized.
Instructions
Create, delete, rename and fill Telegram folders.
Anything not passed is left untouched, so moving a chat into a folder never disturbs its rules or pins.
Args: folder: existing folder by title or id (from tg_folders); not needed with create. add: chats to include. remove: chats to drop from the folder. create: make a new folder with this title (max 12 characters). delete: delete the folder. The chats themselves are not touched. rename: new title for an existing folder. emoji: folder icon. rules: automatic rules, the same checkboxes as in the app — contacts, non_contacts, groups, broadcasts, bots, exclude_muted, exclude_read, exclude_archived. exclude: chats to keep out of the folder even if a rule would include them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| emoji | No | ||
| rules | No | ||
| create | No | ||
| delete | No | ||
| folder | No | ||
| remove | No | ||
| rename | No | ||
| exclude | No |