ActivityExtensions.MentionsRecipient(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.
Is there a mention of Recipient.Id in the Text Property.
public static bool MentionsRecipient (this Microsoft.Bot.Schema.IMessageActivity activity);
static member MentionsRecipient : Microsoft.Bot.Schema.IMessageActivity -> bool
<Extension()>
Public Function MentionsRecipient (activity As IMessageActivity) As Boolean
Parameters
- activity
- IMessageActivity
activity.
Returns
true if this id is mentioned in the text.