Language

SlackStream.StartAsync(String) Method

Definition

Starts a new Slack message stream asynchronously using the specified task display mode.

public System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream> StartAsync(string taskDisplayMode = "plan");
member this.StartAsync : string -> System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream>
Public Function StartAsync (Optional taskDisplayMode As String = "plan") As Task(Of SlackStream)

Parameters

taskDisplayMode
String

The display mode for the task in the Slack stream. The default is TaskDisplayMode.Plan.

Returns

A task that represents the asynchronous operation. The task result contains the current SlackStream instance.

Remarks

See https://docs.slack.dev/reference/methods/chat.startStream

Applies to