TemplateManager.ReplyWith(ITurnContext, String, Object) Method

Definition

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

Task.

Applies to