Jaa


ActivityExtensions.MentionsRecipient(IMessageActivity) Method

Definition

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.

Applies to