Tham chiếu
message.deleted — Tin bị xoá
Tin bị xoá trên Telegram; chỉ có mã (không gửi lại chữ cũ).
Xem MarkdownTrang này sinh tự động từ mã nguồn mỗi lần phát hành.
Tin bị xoá trên Telegram; chỉ có mã (không gửi lại chữ cũ).
Từ bản web 1.0.0, máy chạy —.
| Tên | Giá trị |
|---|---|
| Mã | message.deleted |
| Nhóm | Tin nhắn |
| 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 | chat_types, direction, exclude_self, conversation_ids, conversation_tags |
Trường bị bỏ ở chế độ nội dung thin |
conversation.title, conversation.topic.title |
| Trường do người ngoài viết (không tin cậy) | conversation.title |
JSON Schema
https://tlg.builera.app/schemas/events/message.deleted/2.json
Payload mẫu (đúng như webhooks.test gửi)
{
"specversion": "1.0",
"id": "evt_01JDOCSSAMPLE",
"source": "https://tlg.builera.app/ws/07c2e5e1-c42f-4212-851b-c55b6dd7989d",
"type": "message.deleted",
"time": "2026-10-21T13:45:00.123Z",
"datacontenttype": "application/json",
"dataschema": "https://tlg.builera.app/schemas/events/message.deleted/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": {
"message": {
"id": "6b1c3d5e-7f9a-4b2c-8d4e-6f8a0b2c4d6e",
"tg_message_id": 8812,
"direction": "in"
},
"conversation": {
"id": "9f2e4b6a-1c3d-4e5f-8a9b-0c1d2e3f4a5b",
"chat_type": "direct",
"title": "Nguyễn Văn A",
"peer_tg_id": "456789",
"topic": null,
"assignee_id": null,
"tags": [
"vip"
],
"campaign_id": null,
"lock": null
},
"account": {
"id": "1a7d2c40-5b1e-4e7a-9d3f-6c2b8e1f0a11",
"label": "Sale 1",
"username": "sale_demo_1",
"tg_user_id": "100200300"
},
"deleted_at": "2026-10-21T13:45:00.123Z",
"links": {
"app": "https://tlg.builera.app/w/07c2e5e1-c42f-4212-851b-c55b6dd7989d/inbox?c=9f2e4b6a-1c3d-4e5f-8a9b-0c1d2e3f4a5b"
},
"untrusted_fields": [
"conversation.title"
]
}
}