ActivityExtensions.RemoveRecipientMention(IMessageActivity) 方法

定义

从 Text 属性中删除收件人提及文本。 请谨慎使用,因为此函数正在更改活动上的文本。

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

参数

activity
IMessageActivity

.

返回

新增功能。文本属性值。

适用于