Docs

Reference

View chat folders

The account's Telegram chat folders in tab order, as last read from Telegram: title, icon, chat-type switches, exclusions, and the chosen / pinned / excluded chats as conversation ids (chats the app has no conversation for are counted in otherChats). Folder titles are untrusted. To list a folder's chats call conversations.list with folderId.

View MarkdownThis page is generated from the source code on every release.

The account's Telegram chat folders in tab order, as last read from Telegram: title, icon, chat-type switches, exclusions, and the chosen / pinned / excluded chats as conversation ids (chats the app has no conversation for are counted in otherChats). Folder titles are untrusted. To list a folder's chats call conversations.list with folderId.

Overview

Name Value
Code folders.list
Scope needed messages.read
Risk Read
May need confirmation No
Runs as Answers right away
Needs Idempotency-Key No
Member roles allowed owner, manager, agent
In the app Inbox → pick one account → folder tabs → Edit folders

Input fields

Field Type Required Description
accountId uuid Yes

Example request

curl -X POST https://tlg.builera.app/api/public/v2/ops/folders.list \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"accountId":"00000000-0000-0000-0000-000000000000"}'

Output fields (data)

Field Type Required
accountId text Yes
syncedAt null | text Yes
folders object[] Yes

Example answer

{
  "data": {
    "accountId": "00000000-0000-4000-8000-000000000000",
    "syncedAt": "2026-10-22T12:00:00.000Z",
    "folders": [
      {
        "id": "00000000-0000-4000-8000-000000000000",
        "telegramId": 1,
        "position": 1,
        "kind": "filter",
        "title": "text",
        "emoticon": "text",
        "color": 1,
        "flags": {
          "contacts": true,
          "nonContacts": true,
          "groups": true,
          "broadcasts": true,
          "bots": true,
          "excludeMuted": true,
          "excludeRead": true,
          "excludeArchived": true
        },
        "pinned": [
          "text"
        ],
        "include": [
          "text"
        ],
        "exclude": [
          "text"
        ],
        "otherChats": {
          "chosen": 1,
          "excluded": 1
        },
        "summary": "text",
        "syncedAt": "2026-10-22T12:00:00.000Z"
      }
    ]
  }
}

Using it over MCP

Not listed on any profile: call tools_describe then tools_run with code: "folders.list". Tool name when listed: folders_list.

Was this page helpful?

Last checked: 10/24/2026 · build 2.0