Docs/types: document `broadcast_delete` on chat.delete (undo reply_broadcast)
Maintainer thường phản hồi trong vòng 1 ngày
Đá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ả
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
chat.postMessagewiththread_tsandreply_broadcast: true-> the reply hassubtype: thread_broadcastchat.updateon that ts withtextandreply_broadcast: false->ok: trueconversations.historystill shows the message asthread_broadcastin 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của slackapi/node-slack-sdk
-
ThreadBroadcastMessageEvent is missing `bot_id`Có thể đã có người làm @sean0407 đã nhận 25 ngày trước. Đang mởuntriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
slackapi/node-slack-sdk#2766 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support assistant.search.* APIsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởauto-triage-skip enhancement pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
slackapi/node-slack-sdk#2607 · 2 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`SlackListsItem FieldMessage.message` type does not match API response shapeCó thể đã có người làm @AjTheSpidey đã nhận 176 ngày trước. Đang mởarea:typescript auto-triage-skip bug pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
slackapi/node-slack-sdk#2598 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing TypeScript response type for files.uploadV2Có thể đã có người làm @dajiaohuang đã nhận 43 ngày trước. Đang mởarea:typescript auto-triage-skip bug pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
slackapi/node-slack-sdk#2459 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
slackapi/node-slack-sdk#2791 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của slackapi/node-slack-sdk
Issue tương tự
-
Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-javascript#26203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bytedance/flowgram.ai#1235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
devswha/herdr-web-ui#3325 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100