ActivityExtensions.MentionsId(IMessageActivity, String) 方法

定义

Text 属性中是否提到 ID。

public static bool MentionsId (this Microsoft.Bot.Schema.IMessageActivity activity, string id);
static member MentionsId : Microsoft.Bot.Schema.IMessageActivity * string -> bool
<Extension()>
Public Function MentionsId (activity As IMessageActivity, id As String) As Boolean

参数

activity
IMessageActivity

cmdlet。

id
String

ChannelAccount.Id。

返回

如果文本中提到此 ID,则为 true。

适用于