Reference
Create / edit a chat folder
Create a folder (leave out telegramId) or edit one: title (≤ 12 characters), icon emoji, chat-type switches (contacts, nonContacts, groups, broadcasts, bots) and exclusions (excludeMuted, excludeRead, excludeArchived), chosen / pinned / excluded chats as conversation ids of this account. Left-out fields keep their value; a given chat list replaces the chats the app knows (others stay). Shared-link folders can only be changed on Telegram.
Create a folder (leave out telegramId) or edit one: title (≤ 12 characters), icon emoji, chat-type switches (contacts, nonContacts, groups, broadcasts, bots) and exclusions (excludeMuted, excludeRead, excludeArchived), chosen / pinned / excluded chats as conversation ids of this account. Left-out fields keep their value; a given chat list replaces the chats the app knows (others stay). Shared-link folders can only be changed on Telegram.
Overview
| Name | Value |
|---|---|
| Code | folders.save |
| Scope needed | messages.manage |
| Risk | Write |
| May need confirmation | No |
| Runs as | Queues work for a node |
Needs Idempotency-Key |
Yes |
| Member roles allowed | owner, manager, agent |
| Needs a worker from version | 1.0.33 |
| In the app | Inbox → pick one account → folder tabs → Edit folders |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
accountId |
uuid |
Yes | |
telegramId |
integer |
No | |
title |
text |
Yes | |
emoticon |
text |
No | |
flags |
object |
No | |
include |
uuid[] |
No | |
pinned |
uuid[] |
No | |
exclude |
uuid[] |
No |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/folders.save \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <unique key per operation>" \
-d '{"accountId":"00000000-0000-0000-0000-000000000000","title":"…"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
telegramId |
number |
Yes |
ok |
true |
Yes |
jobId |
text |
Yes |
Example answer
{
"data": {
"telegramId": 1,
"ok": true,
"jobId": "00000000-0000-4000-8000-000000000000"
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "folders.save". Tool name when listed: folders_save.