---
title: "folder.order_changed — Thứ tự thư mục đổi"
locale: vi
url: https://tlg.builera.app/docs/reference/events/folder.order_changed
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# folder.order_changed — Thứ tự thư mục đổi

Các tab thư mục của tài khoản được sắp lại; `folder_ids` theo thứ tự mới (chỉ thêm hoặc xoá thư mục thì không tính).

Các tab thư mục của tài khoản được sắp lại; `folder_ids` theo thứ tự mới (chỉ thêm hoặc xoá thư mục thì không tính).

Từ bản web 2.1.0, máy chạy —.

| Tên | Giá trị |
| --- | --- |
| Mã | `folder.order_changed` |
| Nhóm | Thư mục chat |
| Trạng thái | Đăng ký được |
| Scope cần để nhận | `messages.read` |
| Gắn với một tài khoản | Có |
| Chỉ kết nối gây ra sự kiện mới nhận | Không |
| Bộ lọc áp dụng | — |
| Trường bị bỏ ở chế độ nội dung `thin` | — |
| Trường do người ngoài viết (không tin cậy) | — |

## JSON Schema

[https://tlg.builera.app/schemas/events/folder.order_changed/2.json](https://tlg.builera.app/schemas/events/folder.order_changed/2.json)

## Payload mẫu (đúng như `webhooks.test` gửi)

```json
{
  "specversion": "1.0",
  "id": "evt_01JDOCSSAMPLE",
  "source": "https://tlg.builera.app/ws/07c2e5e1-c42f-4212-851b-c55b6dd7989d",
  "type": "folder.order_changed",
  "time": "2026-10-21T13:45:00.123Z",
  "datacontenttype": "application/json",
  "dataschema": "https://tlg.builera.app/schemas/events/folder.order_changed/2.json",
  "platform": "telegram",
  "workspaceid": "07c2e5e1-c42f-4212-851b-c55b6dd7989d",
  "accountid": "1a7d2c40-5b1e-4e7a-9d3f-6c2b8e1f0a11",
  "seq": "000000000000000",
  "schemaversion": "2",
  "correlationid": null,
  "causationid": null,
  "test": true,
  "replay": false,
  "data": {
    "account": {
      "id": "1a7d2c40-5b1e-4e7a-9d3f-6c2b8e1f0a11",
      "label": "Sale 1",
      "username": "sale_demo_1",
      "tg_user_id": "100200300"
    },
    "folder_ids": [
      "2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3d5f7a"
    ]
  }
}
```
