ActivityExtensions.RemoveRecipientMention(IMessageActivity) 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.
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.