SlackTurnContext(ITurnContext) Constructor
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.
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.