You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Stream markdown text into a conversation.
3044
3070
3045
-
This method starts a new chat stream in a coversation that can be appended to. After appending an entire message, the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.
3071
+
This method starts a new chat stream in a coversation that can be appended to. After appending an entire message,
3072
+
the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.
3046
3073
3047
3074
The following methods are used:
3048
3075
3049
-
- chat.startStream: Starts a new streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.startStream).
3050
-
- chat.appendStream: Appends text to an existing streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.appendStream).
3051
-
- chat.stopStream: Stops a streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.stopStream).
3076
+
- chat.startStream: Starts a new streaming conversation.
buffer_size: The length of markdown_text to buffer in-memory before calling a method. Increasing this value decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits. Default: 256.
3084
+
buffer_size: The length of markdown_text to buffer in-memory before calling a method. Increasing this value
3085
+
decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits.
3086
+
Default: 256.
3055
3087
channel: An encoded ID that represents a channel, private group, or DM.
3056
-
thread_ts: Provide another message's ts value to reply to. Streamed messages should always be replies to a user request.
3057
-
recipient_team_id: The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.
3088
+
thread_ts: Provide another message's ts value to reply to. Streamed messages should always be replies to a user
3089
+
request.
3090
+
recipient_team_id: The encoded ID of the team the user receiving the streaming text belongs to. Required when
3091
+
streaming to channels.
3058
3092
recipient_user_id: The encoded ID of the user to receive the streaming text. Required when streaming to channels.
3059
3093
**kwargs: Additional arguments passed to the underlying API calls.
"""Stream markdown text into a conversation.
10423
10431
10424
-
This method starts a new chat stream in a coversation that can be appended to. After appending an entire message, the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.
10432
+
This method starts a new chat stream in a coversation that can be appended to. After appending an entire message,
10433
+
the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.
10425
10434
10426
10435
The following methods are used:
10427
10436
10428
-
- chat.startStream: Starts a new streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.startStream).
10429
-
- chat.appendStream: Appends text to an existing streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.appendStream).
10430
-
- chat.stopStream: Stops a streaming conversation. [Reference](https://docs.slack.dev/reference/methods/chat.stopStream).
10437
+
- chat.startStream: Starts a new streaming conversation.
buffer_size: The length of markdown_text to buffer in-memory before calling a method. Increasing this value decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits. Default: 256.
10445
+
buffer_size: The length of markdown_text to buffer in-memory before calling a method. Increasing this value
10446
+
decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits.
10447
+
Default: 256.
10434
10448
channel: An encoded ID that represents a channel, private group, or DM.
10435
-
thread_ts: Provide another message's ts value to reply to. Streamed messages should always be replies to a user request.
10436
-
recipient_team_id: The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.
10449
+
thread_ts: Provide another message's ts value to reply to. Streamed messages should always be replies to a user
10450
+
request.
10451
+
recipient_team_id: The encoded ID of the team the user receiving the streaming text belongs to. Required when
10452
+
streaming to channels.
10437
10453
recipient_user_id: The encoded ID of the user to receive the streaming text. Required when streaming to channels.
10438
10454
**kwargs: Additional arguments passed to the underlying API calls.
10439
10455
@@ -10465,23 +10481,31 @@ <h3>Methods</h3>
10465
10481
)</code></pre>
10466
10482
</details>
10467
10483
<div class="desc"><p>Stream markdown text into a conversation.</p>
10468
-
<p>This method starts a new chat stream in a coversation that can be appended to. After appending an entire message, the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.</p>
10484
+
<p>This method starts a new chat stream in a coversation that can be appended to. After appending an entire message,
10485
+
the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.</p>
10469
10486
<p>The following methods are used:</p>
10470
10487
<ul>
10471
-
<li>chat.startStream: Starts a new streaming conversation. <a href="https://docs.slack.dev/reference/methods/chat.startStream">Reference</a>.</li>
10472
-
<li>chat.appendStream: Appends text to an existing streaming conversation. <a href="https://docs.slack.dev/reference/methods/chat.appendStream">Reference</a>.</li>
10473
-
<li>chat.stopStream: Stops a streaming conversation. <a href="https://docs.slack.dev/reference/methods/chat.stopStream">Reference</a>.</li>
10488
+
<li>chat.startStream: Starts a new streaming conversation.
<dd>The length of markdown_text to buffer in-memory before calling a method. Increasing this value decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits. Default: 256.</dd>
10498
+
<dd>The length of markdown_text to buffer in-memory before calling a method. Increasing this value
10499
+
decreases the number of method calls made for the same amount of text, which is useful to avoid rate limits.
10500
+
Default: 256.</dd>
10479
10501
<dt><strong><code>channel</code></strong></dt>
10480
10502
<dd>An encoded ID that represents a channel, private group, or DM.</dd>
10481
10503
<dt><strong><code>thread_ts</code></strong></dt>
10482
-
<dd>Provide another message's ts value to reply to. Streamed messages should always be replies to a user request.</dd>
10504
+
<dd>Provide another message's ts value to reply to. Streamed messages should always be replies to a user
0 commit comments