SetSpeakMiddleware(String, Boolean) 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.
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.