Skip to content

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

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

feat: add chat streaming method examples (start/append/stop)#214
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 WebClient snippet showing the method call 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_sdk==3.43.0 (already pinned), which exposes all three methods.

Testing

  • cd methods && pip install -r requirements.txt && mypy src/ — typechecks clean.
  • Edit the placeholder channel/thread_ts/ts in each example, then run e.g. cd methods/src/chat && slack install --environment local && export SLACK_TOKEN=xoxb-... && slack run chat_start_stream.py 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