Skip to content

Commit bca2b74

Browse files
feedback
1 parent fd123aa commit bca2b74

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

docs/english/concepts/message-sending.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,7 @@ def show_datepicker(event, say):
4343

4444
## Streaming messages {#streaming-messages}
4545

46-
You can have your app's messages stream in to replicate conventional agent behavior. This is done through three Web API methods:
47-
48-
* [`chat_startStream`](/reference/methods/chat.startStream)
49-
* [`chat_appendStream`](/reference/methods/chat.appendStream)
50-
* [`chat_stopStream`](/reference/methods/chat.stopStream)
51-
52-
Bolt for Python provides a `say_stream` listener argument available on `app.event` and `app.message` listeners.
46+
You can have your app's messages stream in to replicate conventional agent behavior. Bolt for Python provides a `say_stream` utility as a listener argument available for `app.event` and `app.message` listeners.
5347

5448
The `say_stream` utility streamlines calling the Python Slack SDK's [`WebClient.chat_stream`](https://docs.slack.dev/tools/python-slack-sdk/reference/web/client.html#slack_sdk.web.client.WebClient.chat_stream) helper utility by sourcing parameter values from the relevant event payload.
5549

docs/english/experiments.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,3 @@ def handle_mention(agent: BoltAgent):
2828
stream.append(markdown_text="Hello!")
2929
stream.stop()
3030
```
31-
32-
### Limitations
33-
34-
The `chat_stream()` method currently only works when the `thread_ts` field is available in the event context (DMs and threaded replies). Top-level channel messages do not have a `thread_ts` field, and the `ts` field is not yet provided to `BoltAgent`.

0 commit comments

Comments
 (0)