Partilhar via


Activity.CreateReply(String, String) Method

Definition

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.

Implements

Applies to