Share via


Activity.GetMentions Method

Definition

Resolves the mentions from the entities of this activity.

public Microsoft.Bot.Schema.Mention[] GetMentions ();
abstract member GetMentions : unit -> Microsoft.Bot.Schema.Mention[]
override this.GetMentions : unit -> Microsoft.Bot.Schema.Mention[]
Public Function GetMentions () As Mention()

Returns

The array of mentions; or an empty array, if none are found.

Implements

Remarks

This method is defined on the Activity class, but is only intended for use with a message activity, where the activity Type is set to Message.

Applies to

See also