Docs/types: document `broadcast_delete` on chat.delete (undo reply_broadcast)

Đang mở
#2,815 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@kai-at-momos đang làm issue này rồi.

Từ ngày 5/11/2026.

  • #2816 của @kai-at-momos — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, typescript
Lĩnh vực
api

Hướng nghiên cứu

The issue describes a Web API behavior gap and does not name SDK files or tests. Start by checking the repository’s Web API method documentation and feature request guidance to determine whether this belongs in the SDK or with Slack’s API team. Done means documenting or routing the request to the appropriate place; the requested behavior requires a Web API change.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:typescript enhancement pkg:web-api semver:patch
Summary

The Slack client has "Remove from channel" for a thread reply that was also sent to the channel (subtype: thread_broadcast). The public Web API has no equivalent, so an app cannot reverse a broadcast it made without deleting the message.

Steps to reproduce
  1. chat.postMessage with thread_ts and reply_broadcast: true -> the reply has subtype: thread_broadcast
  2. chat.update on that ts with text and reply_broadcast: false -> ok: true
  3. conversations.history still shows the message as thread_broadcast in the channel

chat.update without text returns no_text. Methods like chat.unbroadcast return unknown_method.

Expected

chat.update with reply_broadcast: false (or a dedicated method) removes the message from the channel and keeps it in the thread, the same as the client's "Remove from channel".

Current workaround

Repost the text and blocks into the thread, then chat.delete the broadcast. This changes the ts, drops files, reactions and replies-to links, and shows a deleted-message trace for a moment.

Packages

@slack/web-api (Web API behaviour, not an SDK bug as far as I can tell). Happy to move this wherever Web API feature requests belong.

Ngôn ngữ chính
TypeScript
Star
3.4k
Fork
693
Merge trung bình
2 ngày 5 giờ
Pull request đã merge (30 ngày)
37

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của slackapi/node-slack-sdk

Tất cả issue của slackapi/node-slack-sdk

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.