Repository navigation
Conversation
This was referenced Nov 18, 2026
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
changed the base branch from
zimeg-feat-entity-examples-acknowledge-comment-action
to
main
November 18, 2026 06:22
zimeg
force-pushed
the
zimeg-feat-entity-examples-present-comments
branch
from
November 18, 2026 06:22
a80714a to
c439f93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds a method example for
entity.presentCommentsinmethods/src/entity/entity-present-comments.js, and lists it inmethods/README.md.comment-unique-id-001andcomment-unique-id-002(anidis at most 25 characters), the external reply user'sicongets thealt_textthe sender example uses (the API requires it), anderror: ""is left out (the API expects an object with astatus).This is part 1 of 2 in the
entityexamples stack (batch B9 work object comments), in the order a live test runs them: present comments, then acknowledge an action on one. Each pull request builds on the one before it and merges on its own, bottom to top. The stack starts onmain.entity.presentComments👈 this pull requestentity.acknowledgeCommentActionDependency
This depends on slackapi/node-slack-sdk#2869, which adds
entity.presentCommentsto@slack/web-api. It hasn't been released yet, sonpm run checkfails until a release ships it andmethods/package.jsonpins that version. The example type-checks and runs against a local build of that branch.Testing
cd methods/src/entity && slack install --environment local, thenexport SLACK_TOKEN=...with the app's bot token.slack run entity-present-comments.jsand confirm the response. The exampletrigger_idreturnsinvalid_trigger_id. Use one from anentity_comments_requestedevent to see the comments in a Work Object flexpane.🤖 Generated with Claude Code