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.Bot.Schema.Activity CreateReply (string text = default, string locale = default);
member this.CreateReply : string * string -> Microsoft.Bot.Schema.Activity
Public Function CreateReply (Optional text As String = Nothing, Optional locale As String = Nothing) As Activity
Parameters
- text
- String
The text of the reply.
- locale
- String
The language code for the text
.
Returns
The new message activity.
Remarks
The new activity sets up routing information based on this activity.