SlackStream.StartAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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