feat(web-api): add chat.{appendStream|startStream|stopStream} methods#2362
feat(web-api): add chat.{appendStream|startStream|stopStream} methods#2362
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ai-apps #2362 +/- ##
===========================================
+ Coverage 92.77% 92.78% +0.01%
===========================================
Files 39 39
Lines 10693 10711 +18
Branches 692 692
===========================================
+ Hits 9920 9938 +18
Misses 761 761
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
mwbrooks
left a comment
There was a problem hiding this comment.
🙌🏻 Looking awesome! We paired on this and while reviewing the PR, we noticed that the chat.stopStream response should also include a message object. I've left a comment about it in the code.
| @@ -0,0 +1,9 @@ | |||
| import type { WebAPICallResult } from '../../WebClient'; | |||
| export type ChatStopStreamResponse = WebAPICallResult & { | |||
There was a problem hiding this comment.
suggestion: Looking at the reference, we'll also want a message object type that includes a streaming_state string.
mwbrooks
left a comment
There was a problem hiding this comment.
✅ Approving! We've decided to follow-up on streaming_state because it must be added to both the chat.stopStream method and the message_changed event.
|
@mwbrooks Sweet! Thanks for keeping note of what's needed next 🏁 ✨ I'll merge this now to keep our changesets clear, but think the
|
Summary
This PR adds the
chat.{appendStream|startStream|stopStream}methods to@slack/web-api👾 ✨Preview
Requirements