Skip to content

feat: add chat streaming method examples (start/append/stop) - #56

Draft
zimeg wants to merge 1 commit into
mainfrom
clack-chat-streaming-method-examples
Draft

feat: add chat streaming method examples (start/append/stop)#56
zimeg wants to merge 1 commit into
mainfrom
clack-chat-streaming-method-examples

Conversation

@zimeg

@zimeg zimeg commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

This pull request adds copy-paste reference examples for the chat streaming Web API methods.

  • Adds chat.startStream, chat.appendStream, and chat.stopStream examples to the existing chat method family, alongside chat.postMessage.
  • Each is a minimal, standalone MethodsClient snippet showing the request builder with correctly typed arguments — matching the shape of the existing chat.postMessage and blocks.validate examples.
  • README updated with the three methods (alphabetical within the chat family), linking each to its docs.slack.dev reference and implementation.
  • Uses slack-api-client 1.49.0 (already pinned), which exposes all three methods.

Testing

  • cd methods && mvn compile — compiles clean; Spotless (palantir-java-format) applies without changes.
  • Edit the placeholder channel/threadTs/ts in each example, then run e.g. cd methods && slack app settings && export SLACK_TOKEN=xoxb-... && mvn compile exec:java -Dexec.mainClass=chat.ChatStartStream to make a live request.

Add copy-paste reference examples for the chat.startStream,
chat.appendStream, and chat.stopStream Web API methods in the existing
"chat" method family, alongside chat.postMessage.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant