TemplateManager.ReplyWith(ITurnContext, String, Object) 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.
Send a reply with the template.
public System.Threading.Tasks.Task ReplyWith (Microsoft.Bot.Builder.ITurnContext turnContext, string templateId, object data = default);
member this.ReplyWith : Microsoft.Bot.Builder.ITurnContext * string * obj -> System.Threading.Tasks.Task
Public Function ReplyWith (turnContext As ITurnContext, templateId As String, Optional data As Object = Nothing) As Task
Parameters
- turnContext
- ITurnContext
Context for the current turn of conversation.
- templateId
- String
Id of the template.
- data
- Object
Data to render the template.
Returns
Task.