tg_folder_edit
Manage Telegram folders: create, rename, delete, and fill them with chats. Add or remove chats, set emojis and rules without disturbing existing pins or settings.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |