Documentation - v1.6.0-beta.24
    Preparing search index...

    Manages the three-phase Slack streaming lifecycle: startappendstop.

    Maps to the Slack API methods chat.startStream, chat.appendStream, and chat.stopStream. Obtain an instance via SlackAgentExtension.createStream rather than constructing directly.

    start() must be called before append() or stop(); calling either without it throws.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Stops the stream by calling chat.stopStream.

      Parameters

      • OptionalfinalContent: string | Chunk | Chunk[]

        Optional final chunks to include in the closing payload.

      • Optionalblocks: unknown[]

        Optional top-level Block Kit blocks rendered as the final message layout.

      Returns Promise<SlackStream>

      The stream instance, for chaining.

      If start() has not been called.