Jaa


ActivityExtensions.RemoveRecipientMention(IMessageActivity) Method

Definition

Remove recipient mention text from Text property. Use with caution because this function is altering the text on the Activity.

public static string RemoveRecipientMention (this Microsoft.Bot.Schema.IMessageActivity activity);
static member RemoveRecipientMention : Microsoft.Bot.Schema.IMessageActivity -> string
<Extension()>
Public Function RemoveRecipientMention (activity As IMessageActivity) As String

Parameters

activity
IMessageActivity

.

Returns

new .Text property value.

Applies to