Share via


Activity.CreateReply(String, String) Method

Definition

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.

Applies to