Language

SlackTurnContext(ITurnContext) Constructor

Definition

A Slack-aware ITurnContext that exposes Slack-specific helpers such as the Slack API client and strongly-typed channel data on top of the underlying turn context.

public SlackTurnContext(Microsoft.Agents.Builder.ITurnContext turnContext);
new Microsoft.Agents.Extensions.Slack.SlackTurnContext : Microsoft.Agents.Builder.ITurnContext -> Microsoft.Agents.Extensions.Slack.SlackTurnContext
Public Sub New (turnContext As ITurnContext)

Parameters

turnContext
ITurnContext

The inner turn context to wrap.

Remarks

Initializes a new instance of the SlackTurnContext class wrapping the specified inner turn context.

Applies to