ActivityExtensions.MentionsId(IMessageActivity, String) 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.
Is there a mention of Id in the Text Property.
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
Parameters
- activity
- IMessageActivity
activity.
- id
- String
ChannelAccount.Id.
Returns
true if this id is mentioned in the text.