Jaa


SetSpeakMiddleware(String, Boolean) Constructor

Definition

Initializes a new instance of the SetSpeakMiddleware class.

public SetSpeakMiddleware (string voiceName, bool fallbackToTextForSpeak);
new Microsoft.Bot.Builder.SetSpeakMiddleware : string * bool -> Microsoft.Bot.Builder.SetSpeakMiddleware
Public Sub New (voiceName As String, fallbackToTextForSpeak As Boolean)

Parameters

voiceName
String

The SSML voice name attribute value.

fallbackToTextForSpeak
Boolean

true if an empt Activity.Speak is populated with Activity.Text.

Applies to