Activity.CreateReply(String, String) Method
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.
Creates a new message Activity as a response to this Activity.
public Microsoft.Agents.Core.Models.IActivity CreateReply(string text = default, string locale = default);
abstract member CreateReply : string * string -> Microsoft.Agents.Core.Models.IActivity
override this.CreateReply : string * string -> Microsoft.Agents.Core.Models.IActivity
Public Function CreateReply (Optional text As String = Nothing, Optional locale As String = Nothing) As IActivity
Parameters
- text
- String
The text of the reply.
- locale
- String
The language code for the text.
Returns
The new message Activity.