Share via


SetSpeakMiddleware Class

Definition

Support the DirectLine speech and telephony channels to ensure the appropriate SSML tags are set on the Activity Speak property.

public class SetSpeakMiddleware : Microsoft.Bot.Builder.IMiddleware
type SetSpeakMiddleware = class
    interface IMiddleware
Public Class SetSpeakMiddleware
Implements IMiddleware
Inheritance
SetSpeakMiddleware
Implements

Constructors

SetSpeakMiddleware(String, Boolean)

Initializes a new instance of the SetSpeakMiddleware class.

Methods

OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)

Processes an incoming activity.

Applies to