Repository navigation
Conversation
This was referenced Nov 18, 2026
zimeg
changed the base branch from
zimeg-feat-entity-examples-acknowledge-comment-action
to
main
November 18, 2026 06:17
zimeg
force-pushed
the
zimeg-feat-entity-examples-present-comments
branch
from
November 18, 2026 06:17
ad1920e to
de6b710
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/main/java/entity/EntityPresentComments.java, and lists it inmethods/README.md.bolt-js-examplesandbolt-python-examples, with the example values from the reference page.entity/manifest.jsonwith no bot scopes, since the method needs none.This is part 1 of 2 in the
entitystack, which adds theentitymethod examples one at a time to match the SDK stack (slackapi/java-slack-sdk#1709, slackapi/java-slack-sdk#1713). This pull request is in batch B9 work object comments. 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: stays a draft
This depends on slackapi/java-slack-sdk#1709, which adds
entityPresentCommentstoslack-api-client.mvn compilefails against the pinned1.55.0until that ships in a release, as expected. This PR stays a draft until then, and theslack-api-clientpin gets bumped to that release in this stack.Testing
With slackapi/java-slack-sdk#1709 installed locally (
./scripts/install_local.sh) and the pin pointed at that snapshot:cd methodsandexport SLACK_TOKEN=...with the app's bot token and atrigger_idfrom a comment action in a work object flexpane.mvn compile exec:java -Dexec.mainClass=entity.EntityPresentCommentsand check the response. Replace the placeholder values with real ones to seeok.Every example compiles against the SDK changes. Run as is with a bot token, the example payload from the docs page returns
invalid_arguments: both commentidvalues are over 25 characters, and the external user inreply_users"failed to match exactly one allowed schema". The example keeps the payload from the docs page, matching its siblings inbolt-js-examplesandbolt-python-examples.🤖 Generated with Claude Code