Share via


ActivityExtensions.MentionsId(IMessageActivity, String) Method

Definition

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.

Applies to